Skip Navigation

[Resolved] need the toolset view search filter look into 2 fields

This support ticket is created 3 years, 3 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.

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 1 reply, has 2 voices.

Last updated by Shane 3 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#2221655

I have a search bar on this page - hidden link which I had created using toolset views. You can find this in the views named "new crp number".

The problem is that right now it searches the custom field "crp number" of post type crp renovator and what I want is that it should also search by the name (which is another field I have created under the same post type)

Please help with this.

Thank You,
Sid

#2222425

Shane
Supporter

Languages: English (English )

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

Hi Sid,

Thank you for getting in touch.

Unfortunately this won't be possible in the sense of having a single filter target 2 separate custom fields.

However a general text search can be added to the view that will be able to cover all your custom fields when you've searched for a particular text. This does require the addition of the relevanssi plugin in order to search through the custom fields.

For more information on this I recommend that you follow the instructions in the link below.
https://toolset.com/course-lesson/searching-texts-in-custom-fields-with-toolset-and-relevanssi/

Thanks,
Shane