[openstreetmap/openstreetmap-website] Note pagination on user-page shows Next even though no more notes have been contributed to (Issue #6283)

Kai Michael Poppe notifications at github.com
Sat Aug 2 17:47:57 UTC 2025


kmpoppe created an issue (openstreetmap/openstreetmap-website#6283)

A currently blocked [user](https://www.openstreetmap.org/user/Landkreis%20Prignitz) has contributed to 10 notes in total (4541390, 4544841, 4572771, 4574072, 4601591, 4782829, 4820602, 4828600, 4851529, 4851531), which is the current page size.

Yet, the paging nav shows a "next" button.

<img width="603" height="323" alt="Image" src="https://github.com/user-attachments/assets/fa132ee5-9c3c-4ea4-b36c-d5bebdf52458" />

Which, when clicked, says "No Notes"

<img width="621" height="323" alt="Image" src="https://github.com/user-attachments/assets/24743f5b-86aa-4974-a80b-9fabdad682ac" />

Shouldn't the code below say `@notes.size <= @page_size`?

https://github.com/openstreetmap/openstreetmap-website/blob/e8aba353b4059562c69898d5cfb0e4926ca465c4/app/views/notes/_notes_paging_nav.html.erb#L26

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6283
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/6283 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250802/43f8b605/attachment.htm>


More information about the rails-dev mailing list