Community Documentation

ARCHIVE: Taxonomy Query Language: filter views by vocabulary term

Last updated March 25, 2011. Created by roychri on February 17, 2008.
Edited by linclark, hapydoyzer, JohnNoc, espie. Log in to edit this page.

Views are great for classifying content by type, author, date, vocabulary term, etc...
The existing "Taxonomy: Term" filter allow you to filter by one or more terms with a single operator at a time. Either all terms uses OR or AND but not both at the same time.
The Taxonomy Query Language fills that void.
The query language can combine query terms with different operators: AND, OR, XOR and NOT.
It complements the views user interface with filters for each vocabulary you've defined, allowing to only get nodes that match your criteria.

About this page

Drupal version
Drupal 5.x

Archive

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.