Download & Extend

Views Exposed - Possibility to add -any- option instead of -none-.

Project:Simple hierarchical select
Version:7.x-1.4
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (works as designed)

Issue Summary

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

#1

Version:7.x-1.3» 7.x-1.4

Hi.
Do you have a term structure like this?

- Audi
-- A3
-- A4
-- A5
- BMW
- X3

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.

#2

Ohh. 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.

#3

Status:active» closed (works as designed)
nobody click here