我们如何使用两个上下文过滤器,因为当我使用两个上下文过滤器时,它只从第一个过滤器中过滤,第二个上下文过滤器被忽略

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

我有一个包含两个上下文过滤器的视图,我想从两个过滤器中进行过滤,但它仅通过第一个上下文过滤器进行过滤。第二个上下文过滤器被忽略。

  • 如果尝试从 url 中过滤,则需要在 Url 中传递 2 个参数,即 例子.com/arg1/arg2.
  • 如果使用分类字段则需要启用允许多个值以能够使用 1+2+3(对于 OR)或 1,2 形式的多个值, 3(与)。如果您配置了另一个上下文过滤器,则可以用“/”分隔查询。

更多详情可参考-https://drupal.stackexchange.com/questions/77392/multiple-contextual-filters