I try to explain. I have a paginator, on a view -> elenco and the read data there is as 15 page limit.
From the view -> index have 2 links: one pointing on view -> elenco which results in 30 records the second pointing on view -> elenco which results in 10 records.
The error is this: Click on the second link and it displays the first 15 of 30 total records. Click on the second page and it displays the records 16-30. way back on view->index once again visualize the two links. Now click on the first link, are not displayed not even a RECORD, because the paginator is on the second page that is wrong because the records are ONLY 10.
There should be a check on the paginator that if the records are less than or equal to page limit setting should be automatic ON FIRST PAGE.
No. the read data not is different names. Because second to the clicked link should call the read data with a different where. The solution is that you do a check when the paginator is loaded if the records are less than or equal to page limit setting should be automatic ON FIRST PAGE.