grid-js / gridjs

Advanced table plugin

Home Page:https://gridjs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server side pagination -- page number is not reset when resetPageOnUpdate is enabled

cpba opened this issue · comments

Describe the bug
When server side pagination is enabled together with search, the value of the page parameter is not reset.

To Reproduce
1.- Enable both server side pagination and search.
2.- Set resetPageOnUpdate to true
3.- Switch to page different than first.
4.- Search for any value
5.- The page number is passed to the server, rather than being reset to 0.

Expected behavior
I expected the page number to be reset to 0.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.