Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sort grouped nodes by taxonomy weight in views

I have one vocabulary with 4 taxonomy terms

- Term A
- Term B
- Term C
- Term D

and there are some nodes which I grouped in views by taxonomy term, so the result looks

like this:
- Term 1
  - Node 1
  - Node 2
- Term B
  - Node 3
  - Node 4
... and so on...

Then I reordered terms, but there is no change when I look on the views page. Still the same order. So, please, what are the steps to make them ordered by weight?

like image 731
5ulo Avatar asked Aug 15 '11 19:08

5ulo


1 Answers

I'll answer this question myself.. hope, that it helps some people.. In views just add 'Relationship' -> Content: Taxonomy terms on node and then You can add in 'Sort criteria' -> (term) Taxonomy term: Weight (asc) That's all

like image 79
5ulo Avatar answered Nov 11 '22 10:11

5ulo