Skip to content
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

Last page 'prev' nav inactive when using Out Of Range Extra #70

Closed
cseelus opened this issue Jul 13, 2018 · 3 comments
Closed

Last page 'prev' nav inactive when using Out Of Range Extra #70

cseelus opened this issue Jul 13, 2018 · 3 comments

Comments

@cseelus
Copy link
Contributor

cseelus commented Jul 13, 2018

Just a minor thing: When using Pagy::VARS[:out_of_range_mode] = :last_page the prev link is disabled on pages which are out of range and the last page is shown instead. Tested with the pagy_nav and pagy_nav_compact helper.

@ddnexus
Copy link
Owner

ddnexus commented Jul 13, 2018

Not so minor: it looks like a bug :)
Thanks

@ddnexus
Copy link
Owner

ddnexus commented Jul 13, 2018

It should work as expected now (in dev)

@cseelus
Copy link
Contributor Author

cseelus commented Jul 15, 2018

Quick as always, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants