?
avatar amit4106udale
amit4106udale
11 Jan 2019

Is your feature request related to a problem? Please describe.

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.

users - joomlafilters - administration

Describe the solution you'd like

Need to add a config in custum options for showing the filter container and hide the "search tools button".

Additional context

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)));

avatar amit4106udale amit4106udale - open - 11 Jan 2019
avatar joomla-cms-bot joomla-cms-bot - change - 11 Jan 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 Jan 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 Jan 2019

@amit4106udale please close this Issue as you have created the Pull Request #23508.

avatar amit4106udale amit4106udale - change - 11 Jan 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-01-11 09:31:52
Closed_By amit4106udale
avatar amit4106udale amit4106udale - close - 11 Jan 2019

Add a Comment

Login with GitHub to post a comment