TicketQuery should count groups if grouping is used
|Reported by:||Owned by:|
If I have a TicketQuery that uses grouping and formats as count, then I would rather like to know how many groups there are instead of how many tickets. That way I can do e.g. queries on the number of tickets affecting a number of components if I filter the tickets and group by components. I can still get the number of tickets by omitting the group.
Currently (0.12) I get the number of tickets in both cases.