Solution:
To prefilter the view with multiple terms belongs to one taxonomy and also offer the taxonomy frontend filter to users in that case you can use the view's filter hook "wpv_filter_query" to filter the views results based on terms given as prefilter to filter the view results as well as offer another taxonomy to filter results using frontend taxonomy filer on frontend.
I am trying to: Set up a query pulling from two different post types, "Posts" and "Meetings", where the posts are of the Toolset custom taxonomy "Videos" or the meetings are of the custom taxonomy "Webinars"
Link to a page where the issue can be seen: hidden link
password: nuvideo
I expected to see: A list of all posts/meetings that fall under either the taxonomy Videos OR Webinars
Instead, I got: No results from query, and when I reload the view I see all settings have been changed to Functional Category = Video AND Event Category = Webinar AND Webinar Types category is defined by a URL parameter. The latter has never even been part of this query, although I used it in a different one that deals with these two post types months ago. No idea why it'd be pulling conditionals from other Views.
The idea was to pull a list of all articles marked as containing videos (through those two custom taxonomies), then let users sort within those results by a third category describing subject matter. Are frontend and backend filters mutually exclusive?
Can you please specify using what taxonomy with what term you want to filter the results and what frontend filters you would like to add so that user can change the filter from the frontend and filter the results. You just name the taxonomy and terms you want to filter with and what frontend filters you want to present to the users.
I want it to prefilter for items that have the taxonomies "Videos" or "Webinars" (which are in custom taxonomies, "Functional Categories" and "Event Categories", respectively), and on top of that show users a frontend filter that allows them to limit the results by (WordPress standard) categories.
I want it to prefilter for items that have the taxonomies "Videos" or "Webinars":
==>
What prefilter you want to apply here. Do you want to display the posts where both "Videos" AND "Webinars" term is assigned or your want to display posts where "Videos" OR "Webinars" term is assigned?
Videos OR Webinars, as shown in the original post.
For the user selection there's six categories we actually care about - Careers; Diversity, Equity, and Inclusion; Science; Publishing; Education; and I Am ASCB - but it looks like the filter will only auto-generate a complete list of every category any queried post has, which is also fine.
it appears that the query works, with both frontend and backend filters, if I limit it to just one post type. the error appears when I try to have posts and meetings coexisting in a single query.
Can you please confirm that you see the expected output or you still need any modifications?
I've used the following filter hook to hook in the default categories video and webinars and also used the frontend filter for categories. I've added the code to "Custom Code" section offered by Toolset:
=> hidden link
Thank you very much! This is a very helpful workaround. I hope for convenience's sake that in the future it's possible to combine filters through the Views interface but this solves my problem, and I have a pretty good idea now how to address it if I need to do something similar in the future.