Closed a-magdy closed 6 years ago
Thanks for bringing this up. Your contributions help us make this project better everyday 😄
To fix this, as suggested above, we will need to reset the current page state to 0, and thereby using from
as 0 in the resultant query, whenever there is a change in sort.
It should be a simple implementation if you or anyone wants to take this up. Open to PRs.
Thank you :)
would love to open a PR, I'd appreciate a pointer or a hint that gets me closer to the file/module where I can start working on, I don't know the structure of the app yet, the hint doesn't have to be very specific, anything would help :D
PR Merged!
Hi,
As always, I have to start with thanking you for your great work here :)
Issue Type: Bug
Platform: Web
Description: Sorting a multi-page result with infinite scroll breaks the component
Screenshots:
Minimal reproduction of the problem with instructions:
false
Michael Connelly (28)
Notice the
from: 20
The first request after changing the sort will be:Notice the
from: 20
is still the samehttps://build-mnuhsktrja.now.sh/?authorFilter=%5B%22Michael+Connelly%22%5D
to save you testing timeReactivesearch version: 2.6.2
Browser: Chrome 66
Anything else: