luya-module-admin icon indicating copy to clipboard operation
luya-module-admin copied to clipboard

A small bug in Index plugin

Open Antikon opened this issue 5 years ago • 1 comments

We have 150 records in a CRUD list view. The paginationSize is 100.

We are on the first page. Index plugin generates row numbers from 1 to 100. Now click on the "Next page" arrow.

All row number from Index plugin will instantly increase by 100 (so the last one becomes 200). Then, when the data for the next page is received from the server, the numbering will become normal.

It seems like we need to somehow track the change in the $page variable only after page load.

Antikon avatar May 14 '20 10:05 Antikon

Thanks for the report. for the sake of completeness: https://luya.io/api/luya-admin-ngrest-plugins-Index

nadar avatar May 15 '20 08:05 nadar