[openstreetmap/openstreetmap-website] Don't show types twice in issue type select (PR #5381)

Anton Khorev notifications at github.com
Thu Dec 5 09:52:46 UTC 2024


If you have both moderator and admin flags, the issue search form is going to have "User" twice.

Before:
![image](https://github.com/user-attachments/assets/57bc307a-57c9-427b-8c7b-21531ffebec3)

After:
![image](https://github.com/user-attachments/assets/f0dd0428-5dce-41cc-861f-c26cf1039697)

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

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

-- Commit Summary --

  * Don't show types twice in issue type select

-- File Changes --

    M app/controllers/issues_controller.rb (4)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list