Problem:
What I need is if I choose two checkboxes from the same filter (see screenshot) I need that to be an OR search. Right now it's AND so it doesn't show results when I choose more than one at a time.
Solution:
Edit the view, in section "Query Filter". edit the filter from:
Course Type is a string equal to URL_PARAM(wpv-wpcf-course-type)
To:
Course Type is a string in URL_PARAM(wpv-wpcf-course-type)
Relevant Documentation:
https://toolset.com/documentation/user-guides/filtering-views-by-custom-fields/
IN
A list of values
Checks if the custom field value is within the list of compare values
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 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9: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/Hong_Kong (GMT+08:00)
This topic contains 4 replies, has 2 voices.
Last updated by 6 years, 9 months ago.
Assisted by: Luo Yang.