Edgewall Software
Modify

Opened 8 years ago

Last modified 3 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 Ryan J Ollos)

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 by
  • desc: default sort direction
  • max: 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:1 by Ryan J Ollos, 7 years ago

#12171 and #6523 closed as a duplicate.

Last edited 6 years ago by Ryan J Ollos (previous) (diff)

comment:2 by Ryan J Ollos, 7 years ago

Description: modified (diff)

comment:3 by Ryan J Ollos, 7 years ago

Description: modified (diff)

comment:4 by Ryan J Ollos, 5 years ago

Milestone: next-dev-1.3.xnext-dev-1.5.x

Milestone renamed

comment:5 by Ryan J Ollos, 5 years ago

Milestone: next-dev-1.5.xnext-major-releases

comment:6 by figaro, 3 years ago

See also WikiReportMacro for an implementation. Limitations: untested for 1.4+, GPL licensed, adheres to alternative argument syntax.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.