Skip Navigation

[Resolved] Text search filter is not filtering

This support ticket is created 2 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 11 replies, has 2 voices.

Last updated by Luciana 2 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#2346253
Captura de Pantalla 2022-04-21 a la(s) 13.42.09.png
Captura de Pantalla 2022-04-21 a la(s) 13.41.54.png

Hey there!
I've created a view in order to search only within 2 post types through a Text search filter. The search button is on the menu throughout the site, triggering a popup that loads the search only view. Results are shown on a different page.

At the moment, the search filter is not filtering, retrieving all possible data within the post types, dismissing the term on the text input field.

What is the link to your site?
hidden link

Thanks for your time

#2346331

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Luciana,

Thank you for getting in touch.

Would you mind allowing me to have admin access to the website so that I can have a more detailed look at this for you ?

Please where applicable please provide me with a link to an example page where I can see the issue.

I've enabled the private fields for your next response.

Thanks,
Shane

#2347059
Captura de Pantalla 2022-04-22 a la(s) 18.02.02.png

On another –yet related– note, the view styles and formatting on the retrieving results page called "search" aren't loading either.
I've tried both, styling it directly on the Loop Editor and through the Block Editor.

Should I open a new thread for this or is it something that can be looked into along with this one?

Thanks again,
Luciana

PS, this is how it looks to me

#2347091

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Luciana,

Thank you for the credentials, however they dont seem to work.

Can you check on them for me and let me know if they work for you ?

Thanks,
Shane

#2347225

Hi Shane,
Please, try again now.

#2347241

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2022-04-22 at 3.28.13 PM.png

Hi Luciana,

I'm able to log into the site now, however the link that you've sent about the search doesn't display a search. This is what i'm seeing. See Screenshot

All i'm seeing is Content Area.

Thanks,
Shane

#2347273

I'll send the image of what I see, and where the button is. You can also access it by heading to:
hidden link --> Edit with Elementor --> Header (hidden link)

And from there head to preview.

#2348325

Hi Shane,
Just a logistic catch up. My 3 sites plan is expiring tomorrow and I'm planning on downgrading it to a single site (the one we are discussing up here). I read Toolset doesn't have a process for that and that I should allow the current one to expire and then buy the single site (please!!!! Consider changing this!).
So, I hope you can still follow the current thread in the meantime until I change my plan. It would be a shame having to start all over again.
Looking forward to your reply on the website,
Luciana

#2348821

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Luciana,

Thank you for the clarity.

I found the issue now. The problem what that you copied and pasted the view's HTML output code into the search results page rather than the actual view's shortcode.

I went ahead and corrected this for you by adding the actual view to the page so now your search results should be filtering as intended.

Thanks,
Shane

#2350673
WhatWeShouldGet.png
WhatImGetting.png

Hi Shane, thanks for your immense help.
The results are filtering now as you mention. Thanks!

Now, I would also like to include in the results all products from a specific post taxonomy if that's what they search for.
Then, ie:
1) If they search for the keyword "La Calera", then all products from that winery or that keyword on their name will be retrieved. --> ATM, this is working fine.
2) If they search for the keyword "wines" (which happens to be also a taxonomy), then:
a. all products within 'wines' taxonomy --> ATM, this is not working.
b. and any other product whose name includes the word 'wines' will be retrieved.

Could you please point me in the right direction to do so?

––
On another set of things, after all of these changes were made, I now have an error when clicking on a specific product after the search was complete. Meaning, that the product or winery single post template pages (developed in Elementor) are not loading. [Imgs attached}.

Do you think they are somehow conflicting with whatever we have set on Toolset?
Conditions are well set and they used to work fine.
Ie: hidden link

Please, I'd really appreciate a hint on it as things seem to be overcomplicating a bit.

Thanks a lot in advance,
Luciana

#2350749

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Luciana,

Happy I was able to assist you.

There are some limitation when it comes to the text search. What I mean by this is that your text search will only look at the Post Title, Post Content and Custom Fields if you have the relevanssi plugin installed.

The search won't be able to narrow down the results to only items of a specific category as per your example. You will need to have a taxonomy filter on your search section in order for this to work.

Secondly your permalinks should now be working. What I did was to reset them by going to Settings -> Permalink and changing it to the default and then hitting save.

Once I did that I changed it back to postname and saved.

Please let me know if this helps.
Thanks,
Shane

#2352847

Thanks, Shane. I understand about the limitations int the text search. I ended up adding a taxonomy filter to it.

My permalinks are working properly now, thanks for this and your dedicated help.

All the best,
Luciana