]> git.agnieray.net Git - galette.git/commitdiff
Fix contributions types list display
authorJohan Cwiklinski <johan@x-tnd.be>
Sat, 24 Feb 2024 09:12:12 +0000 (10:12 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Sat, 24 Feb 2024 09:12:12 +0000 (10:12 +0100)
galette/templates/default/pages/advanced_search.html.twig

index 04374e114bdc549e55301172f16ab61c2546e9e5..4b68845ca7de932dae9c05dcba89715ac355b2da 100644 (file)
                                 <option value="">{{ _T('Type') }}</option>
 
                             {% for key, value in contributions_types %}
-                                    <option value="{{ key }}"{% if key == filters.contributions_types %} selected="selected"{% endif %}>{{ value }}</option>
+                                    <option value="{{ key }}"{% if key == filters.contributions_types %} selected="selected"{% endif %}>{{ value.label }}</option>
                             {% endfor %}
                             </select>
                         </div>