novo-elements
novo-elements copied to clipboard
NovoDataTablePagination does not reset pages when filter changes but record total remains the same
Describe the bug In NovoDataTable, when the user has paged to page 5 or further and a new sort is applied (or a new filter is applied and the total record count does not change), pagination does not properly reset. The page numbers remain whatever they were before the filter change.
To Reproduce
- Load a NovoDataTable.
- Advance to page 5. There must be enough data so that page 2 or greater is now first in the list of pages.
- Apply a new sort (or apply a filter that does not change the total record count).
Expected behavior Pagination should reset so that pages 1-5 are now visible and page 1 is selected.
Actual behavior The page numbers that were visible before reset are still visible and no page is selected. Note that in the controller the page has correctly been changed to 0, so the back arrow has correctly been disabled.
Specifications
- Version: 6.2.0
- Platform:
- Subsystem:
Screenshots
Step 2

Step 3 (removed "Hold" from Status filter)
Actual behavior
