Skip Navigation

[Resolved] The search form isn't working as expected

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 7 replies, has 2 voices.

Last updated by Minesh 9 months, 2 weeks ago.

Assisted by: Minesh.

Author
Posts
#2679971
2024-01-25_16-06-45.png
2024-01-22_17-37-44.png
2024-01-25_15-45-29.png

Tell us what you are trying to do? On this url hidden link we do have a search form and the view for it. Somehow it isn't really showing the results what I am expecting what it should show.

For example: If I search for the text "alex 2 beach", I expect that it should show only the first beach basically. But it still showing all the beaches. also, the reset button doesn't really working as I expect it should. Is there something I need to set in the view, to have it done correct?

Is there any documentation that you are following?

Is there a similar example that we can see? hidden link

What is the link to your site? hidden link

#2679991

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I will have to see how exactly you have configured the text search.

Can you please share admin access details and let me check whats going wrong with your setup.

When you do text search you want to match the exact text search string - correct?

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2679994

Additional information, it's the view ID 2635 hidden link, there will be another view too, but I think it will be the same solution then.

#2679996

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I've set your text search filter to search in post title only. As you can see with the following video:
- hidden link

Can you please confirm its working as expected now:
- hidden link

#2680030

There is also an issue with the reset button, that this not really does anything.

And I am not sure, but what do I need to set, if the search results should show, not only when click on the search button? I think Ajax something?

#2680037

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

As per our support policy, we entertain only one question per ticket. This will help other user's searching on the forum as well as help us to write correct problem resolution summery.

I've split the ticket and I will handle the reset button issue with the following split ticket:
- https://toolset.com/forums/topic/split-the-search-form-isnt-working-as-expected-reset-button-not-working-in-accordion/

Regarding AJAX search, if you have text search you must add the search button. You may try to use the "Custom Search Settings" option "AJAX results update when visitors change any filter values" for AJAX filter but for text search you must use the submit/search button.

#2680044

Dear Minesh

For this part:

Regarding AJAX search, if you have text search you must add the search button. You may try to use the "Custom Search Settings" option "AJAX results update when visitors change any filter values" for AJAX filter but for text search you must use the submit/search button.

You need to help me where I am doing those settings.

As You have access to the website, You might do a short "how-to-guide". Also what the best practice is. It just should be easy to search something based on the filters we have.

If You think Ajax isn't okay, then we keep the "normal" way.

#2680405

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I suggest you should go without AJAX and I set the option "Full page refresh when visitors click on the search button with input values auto-updating" as you are using the text search that requires submit button.

I already set the option "Full page refresh when visitors click on the search button with input values auto-updating" with your view.