fix grouping issue If ordering isn't specified, queryset evaluation will force ordering by field(s) indicated in model's Meta options. And the ordering field is always included in grouping. So we need to make sure to use only our aggregate or extra fields as ordering fields.
fix grouping issue
If ordering isn't specified, queryset evaluation will force ordering by field(s) indicated in model's Meta options.
And the ordering field is always included in grouping.
So we need to make sure to use only our aggregate or extra fields as ordering fields.

TidalLabs/django-phabricator,TidalLabs/django-phabricator