Modify ↓
Opened 14 years ago
Last modified 14 years ago
#9756 new enhancement
TicketQuery should count groups if grouping is used
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | unscheduled |
Component: | general | Version: | 0.12 |
Severity: | minor | Keywords: | bitesized |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
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.
Attachments (0)
Note:
See TracTickets
for help on using tickets.
This would be quite confusing. How about using
format=groupcount
for getting the number of groups?