How to filter entities in View by all of their taxonomy term reference fields? Let's say I have a custom entity that has two taxonomy reference fields: categories and tags. And I want to display all entities that have taxonomy term with id 1. The term is a dynamic value(contextual filter) so it can be either the category or tag.

How can I do that in Views? Right now I can filter categories or tags separately but I need to filter both of them.

If I use two filters they will cancel each other because each of them have, in my case, "Display contents of "No results found"" set.
You can get an argument from url with views. 

Use Provide default value in the contextual filter.



Another way (in drupal 7)would be to use this module: https://drupal.org/project/views_url_path_arguments