Yes, Currently there is no such provision to show filters container by hiding the "search tools" button. Most of the times in frontend, user don't want an extra click to open the filters. So, we need a facility to show only the filters container of the search tool.
Need to add a config in custum options for showing the filter container and hide the "search tools button".
It will reduce the number of clicks for better user experience.
Sometimes there are only one or to filter fileds in filter container so its is not needed show the "search tools" button. Instead of that, we can show the filter container directly.
For example :-
We need to pass one extra param at the time of rendering respective search toolbar, on the basis of this it will hide the "search tools" button and directly show the filter container.
JLayoutHelper::render('joomla.searchtools.default', array('view' => $this, options=> array('showOnlyFilters' => 1)));
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-01-11 09:31:52 |
Closed_By | ⇒ | amit4106udale |
@amit4106udale please close this Issue as you have created the Pull Request #23508.