[openstreetmap/openstreetmap-website] Add early return for empty section in runQuery (PR #7225)

Marwin Hochfelsner notifications at github.com
Mon Jul 13 14:56:06 UTC 2026


As learned in #7222, Turbo does some weird shit when navigation fails, even if we tell it not to.
This PR prevents queries if the result has nowhere to go, like when the page 503s.

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/7225

-- Commit Summary --

  * Add early return for empty section in runQuery

-- File Changes --

    M app/assets/javascripts/index_modules/query.js (1)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/7225.patch
https://github.com/openstreetmap/openstreetmap-website/pull/7225.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/7225 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260713/ecbd8d7f/attachment.htm>


More information about the rails-dev mailing list