Hi, I'm trying to group search results by an attribute, and sort those results by another attribute. Each of these works fine on their own. This search correctly returns one record for each set of 'some_attr':
Model.search(:group_by => 'some_attr', :group_function => :attr) ... and this search correctly sorts records by some_other_attr: Model.search(:order => :some_other_attr) When I try to do both together, I get the proper grouping but my order is ignored (I get the same default ordering as if I passed nothing): Model.search(:group_by => 'some_attr', :group_function => :attr, :order => :some_other_attr) Has anyone run into this before? Thanks a lot, - Josh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en -~----------~----~----~----~------~----~------~--~---
