I noticed currently we can sort by term (name?) or term weight in the UI, but no further options. I guess that means sort by all terms? Not sure how that works.

My particular use case is I have a content type that tagged with many vocabularies, 'province' is one of them, and I want to sort them by the province tag.

A filter couldn't solve the problem, because when I enable a filter of 'province', nodes of this content type that are not tagged with a 'province' are removed, while I want to show them ALL, likely having the nodes without a 'province' at the beginning or end. If I disable the province filter, it just show all terms from different vocabularies and the order messed up.

I believe the sort by term options should have a further setting of 'vocabulary', is that possible?

Comments

merlinofchaos’s picture

To do this right we probably would need to add a relationship to the terms. This is something that I should have added much earlier, but have elected not to because it would clash somewhat with the existing mechanisms and be confusing.

I'm still on the fence about doing it.

summit’s picture

Subscribing, interested in setting of vocabulary also.
greetings,
Martijn

nigelcunningham’s picture

Subscribing. I'm interested in sorting by a vocabulary too.

miggs’s picture

Was this functionality ever added?

esmerel’s picture

Assigned: Unassigned » dawehner

dereine - is this in the 3.x line? If not, postpone it :/

dawehner’s picture

Assigned: dawehner » Unassigned
Status: Active » Postponed

I don't think so, it would be cool and from my perspective not so hard, but i don't have time to work on it.

geerlingguy’s picture

Subscribe...

merlinofchaos’s picture

Status: Postponed » Fixed

The required relationship actually got added some time ago. Node: Related terms, I believe. You can select by vocabulary, and then sort on a term from the vocabulary.

geerlingguy’s picture

Beautiful.

Status: Fixed » Closed (fixed)

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