Skip Navigation

[Resolved] WHat is the difference between “Any” and “All” in tehtaxonomy view filter?

This thread is resolved. Here is a description of the problem and solution.

Problem:
What is the difference between "Any of the following" and "ALL of the following" with view's filters

Solution:
Any of the following:
=> Choose taxonomy values from the checkboxes (like in the screenshot above). This is good in cases where you want to load posts that belong to specific taxonomy.

All of the following:
=> Return posts that belong to all the selected taxonomy terms.

You can find proposed solution with the following reply:
=> https://toolset.com/forums/topic/what-is-the-difference-between-any-and-all-in-tehtaxonomy-view-filter/#post-628181

Relevant Documentation:
https://toolset.com/documentation/user-guides/filtering-views-by-taxonomy/

This support ticket is created 6 years, 9 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
- 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 2 replies, has 2 voices.

Last updated by katrina 6 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#628015
filter.jpg

Tell us what you are trying to do?

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

In the query filter for a View (see attached image), what is the difference between "Any of the following" and "All of the following" ?

In the example I uploaded, i want to display all posts with the taxonomy "home" selected, that had a custom field start date greater or equal to today.

I would intuitively choose "All of the following" and just select the "home" taxonomy, but whats the difference between choosing that and "Any of the following"?

#628181

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - Here is the explanation for both of the filter options:

Any of the following:
Choose taxonomy values from the checkboxes (like in the screenshot above). This is good in cases where you want to load posts that belong to specific taxonomy.

All of the following:
Return posts that belong to all the selected taxonomy terms.

More info:
=> https://toolset.com/documentation/user-guides/filtering-views-by-taxonomy/

#628462

Hi Minesh - thanks so much. Its so obvious now. I have been using Toolset for years and not had this question, I am not sure why it suddenly was confusing to me. LOL! Thanks again 🙂

However, I'm a having an issue where a View isn't pulling in all the correct posts based on my queries, but I'll open a new support ticket for that.