Ticket list pagination doesn't work when current page = total pages - 1

310
Defect
michob
-
3.0.4
3.0.3
Tickets
Fixed
Normal
Normal
4 years ago
3 years ago
0

Description

What did you do to cause this? Loaded the tickets list when I only had 27 tickets in the system

What page were you on? Tickets

What PHP and MySQL versions do you run? PHP 5.3

Describe the defect:

The Next button on the tickets list does not appear when there are >25 tickets but <50. I suspect, based on the code, this will happen any time the current page # = total pages -1. See:

helpers/pagination.php line 88 if ($this->next_page < $this->total_pages) {

Should be if ($this->next_page <= $this->total_pages) {

This fixed the issue for me.

Ticket History

4 years and 7 months ago by Jack

  • Closed ticket as Fixed