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

top "next" link on user notes page is not a link #294

Closed
apmon opened this issue Jun 4, 2013 · 1 comment
Closed

top "next" link on user notes page is not a link #294

apmon opened this issue Jun 4, 2013 · 1 comment

Comments

@apmon
Copy link
Member

apmon commented Jun 4, 2013

On the users notes page ( http://www.openstreetmap.org/user/xyz/notes ), the "next" pagination link at the top of the page is not a link. The bottom one on the other hand works as expected.

both use the same _notes_paging_nav.html.erb, however the first time called @notes.size evaluates to 1 or 0, whereas the second time _notes_paging_nav.html.erb is called @notes.size evaluates to the correct value.

(Originally reported in the forums, so forwarding it here)

@tomhughes
Copy link
Member

This is a rails bug, but I've managed to work around it in cc8bfc0.

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

No branches or pull requests

2 participants