-
Notifications
You must be signed in to change notification settings - Fork 442
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
react-search-refiners - Search Pagination - Not working properly #299
Comments
I cannot reproduce this and need more information on how to reproduce. Which version are you using? Which browser? If you look at the network trace when clicking, do you see anything weird in the query JSON being sent? |
@wobba I downloaded the latest code . Ran npm install and then gulp serve . const paginationSourceData: IPaginationSourceData = this._paginationSourceData.tryGetValue(); However this line is again called with value of selected page as 1 (paginationSourceData={selectedPage:1}) . Somewhere selectedPage is reset to 1 again and load the first page all the time. In Network Trace , |
@mmohamedbasith can you build and deploy to isolate if this is a workbench issue or not (which I haven't tested in) |
@wobba Yes , when i deployed and checked in a page it is working fine.However I can replicate the issue when i keep the page in edit mode (sometimes works , sometime not) |
@mmohamedbasith ok, so an edit mode issue. I'll see if I can address it, but not super important if paging works in edit mode imo. |
Category
Expected or Desired Behavior
Clicking on pagination number , should take us to the relavent page results.
Observed Behavior
Clicking on pagination number , always loads the first page and rarely loads correct page.
Steps to Reproduce
1.Insert search result webpart and paginzation webpart
2. Set datasource connections.
3.Search for *
4.Paginzation loads , click on page 3. (It will reload the page 1 ,rarely loads correct page)
The text was updated successfully, but these errors were encountered: