By arla on
To provide a search function for certain content on my site, I use a Views Finder which displays a certain View, filtering content by Finder search criteria. This works well but now I want the filtered content to be sorted in the view, by a certain Taxonomy vocabulary. You would think that this is acheivable through one of the Taxonomy sorting criteria, but as I understand them, they can't let me specify which vocabulary to sort by.
Suggestions that I have encountered but rejected for my purpose include:
- Taxonews module (mentioned on stackoverflow.com though https://drupal.org/node/585252)
- Panels (mentioned in http://groups.drupal.org/node/15852)
These seem effective for creating pages to present content, but not as a target for a Finder, which is crucial in my case.
How can I sort the search results by my vocabulary?
Comments
Non-reassuring solution
I have solved this now by setting a sorting criterium for "Taxonomy: Term". I don't really understand how this works, though. My guess is that it looks at the vocabulary with the lowest ID. Lucky, then, that that is the vocabulary by which I wanted to sort. This feels arbitrary...