When a sort criteria is set in a view, and group by is activated, the sort field is appended to the GROUP BY statement and not in the ORDER BY statement

Comments

Junni’s picture

Title: Group by and sort criteria » Group by and sort criteria end up in wrong query
irakli’s picture

Status: Active » Fixed

Yeah, right now you should sort using the group_by settings, not the views settings. Maybe it can change in the future, when Views settings become a filter, rather than a field.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

doublejosh’s picture

Still a big bummer not to be able to sort by the group by count... which would be the point of the module for me :)