Skip to content

Commit

Permalink
open filters if no items
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia committed Sep 20, 2023
1 parent 29418ac commit 0f5f6c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</li>
</ul>
{% endif %}
<details>
<details {% if pagination.getTotalItemCount==0 %}open{% endif %}>
<summary>Filters</summary>
{{ form_start(form, {'action': path('app_homepage',{'page':1})}) }}
<div class="row">
Expand Down

0 comments on commit 0f5f6c5

Please sign in to comment.