When batch actions are disabled the .table_tools div is not rendered. However the sidebar is unconditionnaly hidden using javascript here:
|
if (!window.location.search.includes('Filter')) { |
|
$('div#sidebar').hide(); |
|
$('#main_content').css({ 'margin-right': '0px' }); |
|
$('a#toggleFilters').removeClass('epon'); |
|
} |
The only way to show the sidebar is by clicking on the "Filters" button but it's never added to the DOM since the .table_tools element is missing:
|
$('#active_admin_content .table_tools').append('<a id="toggleFilters" href="#" class=\'epon\'>Filtres</a>'); |
Note that all sidebard are affected by this, not only the filters panel in the sidebar.
When batch actions are disabled the
.table_toolsdiv is not rendered. However the sidebar is unconditionnaly hidden using javascript here:light_admin/app/assets/javascripts/light_admin/filters_toggle.js
Lines 4 to 8 in 335d178
The only way to show the sidebar is by clicking on the "Filters" button but it's never added to the DOM since the
.table_toolselement is missing:light_admin/app/assets/javascripts/light_admin/filters_toggle.js
Line 2 in 335d178
Note that all sidebard are affected by this, not only the filters panel in the sidebar.