-
Notifications
You must be signed in to change notification settings - Fork 395
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
Add arbitrary params to generated links #28
Comments
And what about anchors? pagy(collection, params: {a: 'a'}, anchor: '#your_anchor') |
Yep, I think that would do nicely |
Consider it done :) |
Awesome! |
Done. Pushed v0.8.1 to rubygem including this feature. |
@cseelus Glad you enjoyed the fast execution.... but now you owe pagy a step-by-step tutorial about how to get that awesome pagination working! ;) |
I think you'll be able to get a way with the tags in German, as long as the tutorial looks nice :) |
Haha, did really nothing special one could write much about. Its just the Maybe the README could be improved a little bit, as this friendly gentleman pointed out? Btw. I opened issues with api-pagination and Pager API to ask about the possibility of supporting Pagy (they only support will_paginate and Kaminiari for now). |
Indeed, that is simple, but a step by step would be very nice. |
Guess I'll have to revive my blog then, after looking into helping with an adapter for Pager API ;-) |
@cseelus, let me know if you want to make a guest post to http://blog.imaginarycloud.com/. I've covered Pagy in the past and we can make a push during lunch help raise awareness. |
Btw, this is how we got featured on Ruby Weekly :) |
@gamafranco Shure. Just tell me what (deliverables) you need and I'll see what I can do ;-) |
Thanks. Sent! |
The ability to add arbitrary params similar to will_paginates
:params
option or Kaminaris option with the same name would be helpful for a number of use cases:The text was updated successfully, but these errors were encountered: