-
Notifications
You must be signed in to change notification settings - Fork 138
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
Sorting reverts to default when paginating #111
Comments
I am seeing the same behavior. Can't figure out why it's happening. I'm losing params after clicking a pagination button. |
Taking advice from: Sology#111 (comment)
Can you check if this thing still happens for you with the newest gem version? |
In version 1.2.1 same problem Not saving filter params in cookies I think trouble with link's generation, as pagination link's not having sort parametr. If i right understanding sort params will be stored in cookies, but in cookies stores only memorize_per_page, maybe forgot add code for saving into lib/smart_listing.rb ? |
Still an issue as far as I can tell. @vincenzodev's solution seems to solve it. |
@vincenzodev's solution base on changing kaminari dependency. |
I'm currently working with 1.2.0, but confirmed this is not an issue on 1.1.2.
Any sorting options (column and direction) is lost and reverts back to the default sorting when a new page is chosen. I just created a new project with the github tutorial code as the basis. If I downgrade back to 1.1.2, it works as expected.
Did anything on the interface side change between these two versions that requires a different setup in order for this to work properly?
The text was updated successfully, but these errors were encountered: