brianchandotcom/liferay-portal — pull request #2425 by migue (2011-11-04 08:51:28+00:00)
Title: LPS-22742 Queries created by AssetEntryFinderImpl not working with PostgreSQL

SQL Standard defines that fields used in ORDER BY or GROUP BY should be present in the SELECT clause. Some databases, like PostgreSQL, meet this part of the standard in a strict way