Forums Forums Search & Filter Pro There is “No results” result for nonexistent text

Viewing 5 posts - 1 through 5 (of 5 total)
  • Anonymous
    #245790

    I have a CPT called Resources which are downloadable PDF-s. Using AJAX refresh. If I write some gibberish into Search Terms field S&FP displays all posts, not the “There are no results for your criteria” text.

    See: https://r0g3rs.posdev.hu/en/resource/

    There are other problems but let’s deal with one at a time.

    Regards,
    Champdor

    Ross Moderator
    #245804

    Hi Peter

    The issue is, you have an Ajax container set to .sza_wrapper

    However, on a page with no results, the ajax container doesn’t exit – so S&F doesn’t know where to get the new results (or in this case, a “no results” message)

    So add that around the content in your no results page and ajax should work fine.

    Let us know how you get on and what the next questions are!

    Best

    Anonymous
    #245806

    1. Title is wrong: There is no “No results” result for nonexistent text

    2. Tested further: the exact problem is that if a search term does not return any result then the listed items are not changed. So if all items listed and you put something is search box which has no results then all items are listed (no change). If you have search results list with say two items and you change the search term which will return no results then the two items remain listed.

    What do I miss?

    Champdor

    Anonymous
    #245807

    Ahhh, I didn’t know. Thank you, this solved the problem!

    Best regards,
    Peter

    Ross Moderator
    #245826

    Great stuff Peter, let us know if you encounter any furhter issues.

    Best

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