Modify ↓
      
Opened 8 years ago
Last modified 4 years ago
#12810 new enhancement
Add a TicketReport macro
| Reported by: | Ryan J Ollos | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | next-major-releases | 
| Component: | report system | Version: | |
| Severity: | normal | Keywords: | macro | 
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
Add a TicketReport macro that takes the report id as the first argument, and also the following optional keyword arguments:
order: default column to sort bydesc: default sort directionmax: number of rows per page- Any uppercase report variable
 
The argument names are consistent with the TicketQuery macro.
ReportModule._render_view needs to be refactored by extracting the code that prepares the report data.
Attachments (0)
Change History (6)
comment:2 by , 8 years ago
| Description: | modified (diff) | 
|---|
comment:3 by , 8 years ago
| Description: | modified (diff) | 
|---|
comment:5 by , 6 years ago
| Milestone: | next-dev-1.5.x → next-major-releases | 
|---|
comment:6 by , 4 years ago
See also WikiReportMacro for an implementation. Limitations: untested for 1.4+, GPL licensed, adheres to alternative argument syntax.
  Note:
 See   TracTickets
 for help on using tickets.
    


  
#12171 and #6523 closed as a duplicate.