last page link not displayed
Brought to you by:
fgiust
Since version 1.0 of the display tag the last page link
is not display any more (if there are more pages than
the chosen number of page links). This may be due to
the changes in the display of the page links because of
"Center of paging banner number. Fixes DISPL-109."
example: 127 records/pagesize 10
number of page links: 8 (default)
action: go to last page
result: [First/Prev] 3, 4, 5, 6, 7, 8, 9, 10 [Next/Last]
should be: [First/Prev] 4, 5, 6, 7, 8, 9, 10, [11]
[Next/Last]
Can the centered display of the page links be deactivated?
kr Helmut
Logged In: YES
user_id=1248799
We found the problem with this bug. It is on row 285 in file
SmartListHelper.java
The row:
startPage = Math.max(Math.min(this.currentPage - groupSize /
2, this.pageCount - groupSize), 1);
should be:
startPage = Math.max(Math.min(this.currentPage - groupSize /
2, this.pageCount - groupSize + 1), 1);