How do we use two contextual filter because when i use two contextual filter it only filter from first filter second contextual filter is ignored

Solutions

  • If trying to filter from url then need to pass 2 parameters in Url i.e example.com/arg1/arg2.
  • If using taxonomy field then need to enable allow multiple values to able to use multiple values in the form of 1+2+3 (for OR) or 1,2,3 (for AND). If You have another Contextual filter configured, you can separate the query with "/".

For more details can refer -https://drupal.stackexchange.com/questions/77392/multiple-contextual-filters

Tags: Drupal / View / Drupal 8

Similar questions

Automatically Fill a Second Term Reference Field in a Node Based On Filled Value from a First Term Reference Field
Given the following... would it possible to automatically fill the second term reference field from Vocab2 based on what's is filled in the first term reference field containing a term from Vocab1?
Form validation not triggered at first submit, but on second submit
I'm in the need for a extra validation on an existing drupal commerce form (commerce_cart_add_to_cart_form_##), strangely the validation function is not called on the first form submit, but on the 2nd submit and all the submits after the 2nd. There are multiple commerce_cart_add_to_cart_forms on a single page. Here's my module code: Any Ideas? And,...
How to hide options in the second select before choosing option in first select
i have taxonomy : Cities and taxonomy Towns. i have installed the module "reference_option_limit" and i created in the content a field named city and an other field named Town , in Town field i have coched : and i created a view for this content : but the problem in the page it shows me all the options: for the second select:
How can i set the value of first field to the second in same form
I have a form with a value field and i would like to set the value to a markup field as shown below. The problem is that it retuns empty. Is there other alternatives.
Attach different CSS classes to first and second link
I have a Paragraph type 'Call to action' with one link field field_link. I have another Paragraph type where I call the 'Call to action' paragraph as an Entity reference revisions field. With Allowed number of values set to 2. So the editor is able to insert two Call to action links. I want to attach 2 specific CSS classes to both links: On the fir...
How can I split the body field to insert content between the first and the second paragraph?
I have a node which shows content from the body field. I want to add a another paragraph or a block between between the first and the second paragraph, after the first </p> and before the second <p> tag. But in my template to output the body there's only {{ content.body }}. Drupal 7 had something like block in block. How can I do the sa...

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.