[openstreetmap/openstreetmap-website] Reorder paginated items (PR #6204)
    Anton Khorev 
    notifications at github.com
       
    Fri Jul 18 08:40:54 UTC 2025
    
    
  
Sometimes items passed to get_page_items are already ordered. That order needs to be replaced by cursor_column instead of adding cursor_column after the existing order.
You can view, comment on, or merge this pull request online at:
  https://github.com/openstreetmap/openstreetmap-website/pull/6204
-- Commit Summary --
  * Reorder paginated items
-- File Changes --
    M app/controllers/concerns/pagination_methods.rb (6)
    M config/routes.rb (2)
    M test/controllers/diary_entries_controller_test.rb (80)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6204.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6204.diff
-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6204
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6204 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250718/45c790d8/attachment.htm>
    
    
More information about the rails-dev
mailing list