sergiogonzalez/liferay-portal — pull request #1099 by mikakoivisto (2013-10-30 23:48:28+00:00)
Title: LPS-41870

Hey Sergio, it seems that a change that already rejected long time ago somehow found it's way into 6.2. Getting all folderids to get search results from subfolders it very inefficient and now that TreePath is there totally unneccesary. I added a flag to QueryConfig to indicate that we want to search subfolders so that CMIS, Documentum and other repository implementations can generate a more intelligent query. I just wanted you to check this through that it still works as intended which it does based on my testing. I'll send the Documentum plugin changes separately once this is in.