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
Comment #1
dawehnerTo 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 :)