Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Facets gets hidden when no search results.
Hello,
I have multiple facets on a search page that I'm using for search filtering.
But when there is no result in the search or in any facet then all facets gets hidden,is there any way to still show the facets even when there are no results.
Thanks.
Hi Nirmal, one easy thing you can do is change the application decorator in each facet widget's Look and Feel Configuration. Barebones (the default) causes the widget to be hidden when there's nothing to display, but either Decorate or Borderless will at least show the widget's title.
Hi, Russell
Thanks for the answer but I forgot to mention that my page
is not a widget page, it is a content page and content page's widgets
don't have look and feel configurations in it.
Is there any other solution to prevent that behaviour?
I honestly don't know how that can be done--but maybe if you create a widget template, it can be done there?
Powered by Liferay™