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/6...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to