Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P07, EE-4.3.0.GA_P01
-
Fix Version/s: EE-3.3.0.GA_P08, EE-4.3.0.GA_P03
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Any
Description
On an ace:dataTable that uses a paginator, the {endRecord} value displayed on the last page is incorrect. It displays the maximum number of rows that that page would have if it was full, instead of displaying the number corresponding to the last/total number of rows that the table actually has.
Also, when the table has zero records (and paginatorAlwaysVisible is set to true) the {startRecord} value appears as 1, instead of 0.
Also, when the table has zero records (and paginatorAlwaysVisible is set to true) the {startRecord} value appears as 1, instead of 0.
r53248, r53249: set the value of endRecord in the paginator to the minimum value among the total number of records and rows per page multiplied by the page number (ee 3.3 maintenance branch and 4.3 trunk)