Skip Navigation

[Resolved] [wpv-filter-controls] is not using AND Logic

This support ticket is created 4 years, 4 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)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Shane 4 years, 4 months ago.

Assisted by: Shane.

Author
Posts
#1764419
Toolset.JPG

Hi I have created a Toolset View for Searching on a Custom Post type
I See that by Defualt Toolset is using OR logic for the filters.
// this is only a exemple
[wpv-filter-controls]
[wpv-control taxonomy="contry" url_param="wpv-contry" type="select" default_label="Select Region" taxonomy_order="ASC" taxonomy_orderby="name" hide_empty="true"]
[wpv-control taxonomy="city" url_param="wpv-city" type="select" default_label="Select City" taxonomy_order="ASC" taxonomy_orderby="name" hide_empty="true"]
[wpv-filter-end]
But my site needs AND-filter where can i find this settings?
Thank you !

#1764811

Shane
Supporter

Languages: English (English )

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

Screenshot 2020-09-03 at 12.08.33 AM.png

Hi Erik,

Thank you for getting in touch.

This option should be on your view filter section. If you scroll up on your view to the Query filter section you should see the backend filters for your view. See Screenshot

If you expand your taxonomy filter you should see the option to change the comparison logic between an OR/AND

If this section is not appearing for you, you will need to enable it by scrolling to the top of your view and click "Screen Options" in the top right hand corner. Then enable Query Filter.

Please let me know if this helps.
Thanks,
Shane