Here's my scenario:

I have a view styled as a table with a grouping field.
The grouping field is "Taxonomy: All Terms" -- one vocab is selected.
Selected vocab is a hierachical taxonomy.

In the caption containing the terms, the parent term is rendered after the child term...

For example, here's a parent child taxonomy:

- Car
-- Pontiac

This is rendered as

Pontiac, Car

In the caption.

I would like the order to be

Car, Pontiac

Order holds true for the list options for the field.

Thanks for any pointers.
Mike

Comments

dawehner’s picture

Status: Active » Fixed

To achive this you could use hook_views_pre_render and goto $view->field['the-term-field']->items and reorder the results there manually.

But this really involves custom coding which is reality in drupal land :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.