echo JLayoutHelper::render('joomla.searchtools.default', array('view' => $this, 'options' => array('filtersHidden' =>false)));
does not show the filters by default.
When filtersHidden option is set to false the filter should be shown even if no filter is selected
The filters are not shown by default.
Joomla 5.0.3
\layouts\joomla\searchtools\default.php line 61
'filtersHidden' => isset($data['options']['filtersHidden']) && $data['options']['filtersHidden'] ? $data['options']['filtersHidden'] : $hideActiveFilters,
filtersHidden is taken into consideration only if it is set to true
filtersHidden is not taken into consideration when displaying the filters. Only $hideActiveFilters is taken into account.
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
bug
|
@georgebara thank you for reporting this. Since you already have a proposal, would you be able to create a pull request for this?
Proposed solution
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42999.