Download & Extend

dropdown event filter in hierarchical manner?

Project:Event
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:critical
Assigned:Unassigned
Status:active

Issue Summary

is it possible to have the dropdown for the filter list the taxonomy in an hierarchacal manner?

Comments

#1

I would also need this

#2

// Change to event.module for hierarchial dropdown in display

From:
foreach ($tree as $term) {
$items[$term->tid] = $vocab->name .' - '. $term->name;
}

To:
foreach ($tree as $term) {
$dash = '';
while ($term->depth--) {
$dash .= '-';
}
$items[$term->tid] = $dash . $term->name;
}

You'll have to arrange the categories the way you want it.
This just displays them the way they are categorized, like in Create Event.

Main
-Sub Category
--Sub Sub