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

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-&gt;next_page &lt; $this-&gt;total_pages) {

Should be if ($this-&gt;next_page &lt;= $this-&gt;total_pages) {

This fixed the issue for me.

Activity

Jack closed as Fixed 13 years and 9 months ago

Status

Fixed
-
Normal

Details

Defect
3.0.4
Tickets
3.0.3
Normal

Tracking

michob
13 years and 9 months ago
12 years and 11 months ago
0
-
-