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
Comment #1
merlinofchaos commentedTo 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.
Comment #2
summit commentedSubscribing, interested in setting of vocabulary also.
greetings,
Martijn
Comment #3
nigelcunningham commentedSubscribing. I'm interested in sorting by a vocabulary too.
Comment #4
miggs commentedWas this functionality ever added?
Comment #5
esmerel commenteddereine - is this in the 3.x line? If not, postpone it :/
Comment #6
dawehnerI 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.
Comment #7
geerlingguy commentedSubscribe...
Comment #8
merlinofchaos commentedThe 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.
Comment #9
geerlingguy commentedBeautiful.