[openstreetmap-website] User history page always displays "load more", even when changeset list has been truncated due to no more changesets. (#596)

Tom Hughes notifications at github.com
Mon Dec 2 19:33:36 UTC 2013


This is sort of expected, at least some of the time, because it would need an extra database query to check if there are actually any more.

That said, we should be able to avoid it in most cases, as if we ask for 20 changesets and only get 10 we will know there can't be anymore. If we get exactly 20 though we won't know if there might be more.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/596#issuecomment-29649529
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20131202/ad99648d/attachment.html>


More information about the rails-dev mailing list