Is it possible to combine contextual filters with regular filters?


You can add "or" conditions to filters -- either regular or exposed -- using Views in Drupal 7 or 8 (in Drupal 6 you need to use the Views Or module).

Add the filters you want -- in your example, a "Has taxonomy term" filter for "meta" and a "Has taxonomy term" exposed filter. Then click the arrow next to the "Add" link to expand the options and select "And/Or, Rearrange".

enter image description here

From there you can add a new group and drag both the "Has taxonomy term" filters into that group and set the operator to "or". (You can also set the operator between groups to "or" for more complicated scenarios.)

enter image description here

To add OR clauses to contextual filters, tick the "Allow multiple values" option and use the "+" or "," characters in the URL to indicate an OR or AND of values.

That should get you what you want.

Similar questions

Is it possible to combine two different Template.php functions?
How about two different functions like below? Is it possible to combine below two Drupal Template.php functions?
Is it possible to combine two filter criteria exposed filter into one dropdown
Is it possible to combine two filter criteria exposed filter into one dropdown. In drupal 8 I am creating a view to search certain content type. One of the content type has three select list field, I do not want to create three seperate exposed filter dropdown on the search page, Is there is a way to combine all into one exposed filter dropdown ? A...
DRUPAL: combine CCK image and videos in a common ordered list. Possible?
I'm working on multiple videos and images page on Drupal. I would like to know if I can combine Video and Image CCK fields in back-end content type pages, in order to assign them a common mixed order, when I have multiple images and videos. ps. I don't want to create a node for each image/video, I prefer to use the CCK fields, since it is easier fo...
Possible to have 2 contextual filters with "or" rather than "and"?
I would like to create a view that shows all nodes created by the currently logged in user OR where the currently logged in user has commented on. D6 had a views_or module but it's not ported to 7. Are there any simple solutions?
Is it possible to understand and use Relationships and Contextual Filters without knowing SQL?
Are there any good, layman descriptions of contextual filters and relationships for those site builders that aren't developers? Is it possible to be comfortable with Relationships and Contextual Filters without knowing SQL? If so, how?
Drupal 7 and Views, contextual filters searching through multiple/combined fields. Is it possible?
I've worked with Drupal 7 and Views for a while now and I'm familiar with what Views allow by default and what is available as modular add-ons. Today I've come across an issue with Contextual filters, which allow you to pass in an argument via the URL and use this to filter the returned data. Normal filters on the other hand can be exposed as a for...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.