getsentry/sentry — pull request #715 by rvanlaar (2013-01-08 14:23:33+00:00)
Title: Fix group_by query in SearchDocumentManager

SearchDocumentManger has a raw group_by sql query for search.
sd.project_id and sd.status was missing from the group_by clause.

This is due to the sd.* in the SELECT.