Modify

Opened 8 years ago

Closed 8 years ago

#5343 closed defect (invalid)

Report pagination

Reported by: dq@… Owned by: Noah Kantrowitz
Priority: normal Component: PrivateTicketsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

When a user with restricted privileges on tickets display a report, the report filters the tickets the user can see, but the pagination is calculated as if the user could see every ticket.

In the example screenshot, the user have access to only see 1 ticket. The report displays all active tickets. As a result, the user can see an empty report with multiple page. The only ticket the user can see happens to be on the second page.

Expected: the list should be paginated after the filter is applied. In our example, this would result in a report with one ticket and only one page.

Attachments (1)

PrivateTicketReport.jpeg (35.5 KB) - added by dq@… 8 years ago.
Bad paginated report.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by dq@…

Attachment: PrivateTicketReport.jpeg added

Bad paginated report.

comment:1 Changed 8 years ago by Noah Kantrowitz

Resolution: invalid
Status: newclosed

This is a bug in Trac itself, not the plugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.