Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A small bug in Index plugin #498

Open
Antikon opened this issue May 14, 2020 · 1 comment
Open

A small bug in Index plugin #498

Antikon opened this issue May 14, 2020 · 1 comment

Comments

@Antikon
Copy link
Contributor

Antikon commented May 14, 2020

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.

@nadar
Copy link
Member

nadar commented May 15, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants