test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • fabiojordan Friend
    #1034837

    Hi, there.

    I want to know if there’s a way (maybe with a hack) to avoid the component to show results for blank search. I mean, in the search field, if the user doesn’t type anything, than the component should show the error message (like: Nothing found, try again). Right now, it shows all the items from all categories selected in the settings.

    Thanks in advance!

    Arvind Chauhan Moderator
    #1035269

    Hi,

    To do this, you can use the function "Pre-filter" from JA K2 Filter module that allows you to configure pre-filter values and when user open the page, it will show the result of the defined pre-filter fields: category, keyword, etc.
    For more information about how to setup this, please check the following tutorial: https://www.joomlart.com/documentation/joomla-component/ja-k2-filter#version-121

    Regards.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 1 reply, has 2 voices, and was last updated by  Arvind Chauhan 7 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum