Skip to content

Commit

Permalink
💬 multi-search: use short menu title if available
Browse files Browse the repository at this point in the history
  • Loading branch information
krmax44 committed Dec 4, 2023
1 parent ce82b14 commit 709f3f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion froide/helper/templates/helper/search/multi_search.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
class="froide-multi-search">
<div class="d-grid gap-2 d-md-flex">
<select class="form-select flex-grow-0{% if small %} form-select-sm{% endif %}">
{% for search in searches %}<option value="{{ search.url }}">{{ search.title }}</option>{% endfor %}
{% for search in searches %}
<option value="{{ search.url }}">{{ search.menu_title|default:search.title }}</option>
{% endfor %}
</select>
<input name="q"
type="search"
Expand Down

0 comments on commit 709f3f8

Please sign in to comment.