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.
Hallo and thanks for this great module. Saved me a lot of time. Well, I will describe my issue with an example. Lets say we have company and model of a car. For example Company: Audi, Models: A3,A4,A6.
With the present situation, I am forced to select company and model. If I leave Models option to -none-, then no results come up. I would like the user to have the option to select just the company and provide me the result of all models. Is this possible? Thanks a lot.
Comments
Comment #1
stBorchertHi.
Do you have a term structure like this?
If so you could simply use the new views filter "Content: Has taxonomy terms (with depth; Simple hierarchical select)" (implemented with #1901924: Support for taxonomy filter has taxonomy terms (with depth) and available in version 7.x-1.4) and set the "Depth" option to a value greater than 0.
Comment #2
Jonesgr CreditAttribution: Jonesgr commentedOhh. I am getting crazy. I tried your solution but I get no results! I get all the results when i select none in Company. If i make a selection for Company or Company+Model, no results appear. Its sure I am missing something very simple.
EDIT: Ok. It works. Thanks a lot.
Comment #3
Jonesgr CreditAttribution: Jonesgr commentedComment #4
Sinan Erdem CreditAttribution: Sinan Erdem commentedSorry to re-open. But currently -none- option displays all results. Displaying all results is a good thing. But I think we have to change the wording. Instead of -none- we can use -any- or -all-
Comment #5
Sinan Erdem CreditAttribution: Sinan Erdem commentedSorry, there is already an issue about this: #2004420: How to change "none" to "any"