Browse Source

Revert "don't display action menu if there are no filters" (#4092)

This reverts commit 7056ebbcfeba959539326be3f4dfa8be05db112a.
Fabien Bourigault 9 years ago
parent
commit
b44dfe275d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Resources/views/CRUD/base_list.html.twig

+ 1 - 1
Resources/views/CRUD/base_list.html.twig

@@ -206,7 +206,7 @@ file that was distributed with this source code.
 {% endblock %}
 
 {% block list_filters_actions %}
-    {%- if admin.datagrid.hasDisplayableFilters %}
+    {%- if admin.datagrid.filters|length %}
         <ul class="nav navbar-nav navbar-right">
 
             <li class="dropdown sonata-actions">