Modify ↓
Opened 3 years ago
Last modified 2 years ago
#9756 new enhancement
TicketQuery should count groups if grouping is used
| Reported by: | donandre@… | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | unscheduled |
| Component: | general | Version: | 0.12 |
| Severity: | minor | Keywords: | bitesized |
| Cc: | |||
| Release Notes: | |||
| API 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)
Change History (3)
comment:1 Changed 2 years ago by rblank
comment:2 Changed 2 years ago by Don <donandre@…>
okay
comment:3 Changed 2 years ago by rblank
- Keywords bitesized added
- Milestone set to unscheduled
Right. PatchWelcome.
Note: See
TracTickets for help on using
tickets.



This would be quite confusing. How about using format=groupcount for getting the number of groups?