Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Just added a setting to the facet dependency system. You can now revert the logic to hide the facet if the dependency is met.
For example, if you want to force the user to use one filter or another, but not both at the same time.
Comment | File | Size | Author |
---|---|---|---|
#1 | reverse_dependency-corrected.patch | 4.14 KB | GaëlG |
facet_api_bonus-reverse_dependency.patch | 4.73 KB | GaëlG |
Comments
Comment #1
GaëlGBetter like this. I just edited the previous patch by hand. Hope it still works.
Comment #2
ygerasimov CreditAttribution: ygerasimov commentedCommitted. Thank you