开发者

Drupal: Views taxonomy exposed filter, show tree/hierarchy in drop down menu

I have an exposed taxonomy filter that allows the user the filter by term. The vocabulary is 2 tiers, however in the exposed filter menu the hierarchy appears flat.

Is there a method/module to show the hierarchy with indentation or prefixing child terms with "-", similar to the taxonomy term selection menu from the node edit form itself.

x-post from https://drupal.stackexchange.com/questions/4578/views-taxonomy-exposed-filter-show-tree-hierarchy-in-drop-down-开发者_如何转开发menu

SOLUTION:

The filter Taxonomy: Term ID (with Depth) will display the option "Show Hierarchy In Dropdown" when you select the Dropdown widget.


The filter Taxonomy: Term ID (with Depth) will display the option "Show Hierarchy In Dropdown" when you select the Dropdown widget.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜