Fixes puppetclasses search with pg database
The request is sorting the results on a field that isn't in the DISTINCTSELECT'ed columns and pg doesn't like it.Fixes #1607
Fixes puppetclasses search with pg database
The request is sorting the results on a field that isn't in the DISTINCT
SELECT'ed columns and pg doesn't like it.
Fixes #1607