I use drupal 7 and simple hierarchical select module for filter views module result by taxonomy terms and taxonomy vocabularies.

my views have results only if select both vocabulary and taxonomy term from select list (exposed filter) .if I select only vocabulary from select list I have no any result for views.

So i want to have a exposed filter that can filter views by vocabulary (all its taxonomy terms) and taxonomy term (sub level of vocabulary) . please see this picture.

Is any other way for filter views result by both vocabulary and terms in heirarchically?


thank you beforehand.

  • I found this solution:
    – omiti
    Jun 1 '17 at 5:31

Solution of My problem: I use SHS module and in views filter fields select "has taxonomy term (with dept) - simple_hierarchical-select" and in dept field of its settings set 1 . Now with select any parent term or subterm , views has the result.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.