Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-3.0-alpha1
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 May 2010 at 19:23 UTC
Updated:
22 Aug 2010 at 09:10 UTC
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 :)