|Reported by:||dq@…||Owned by:||coderanger|
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.