\hook_query_TAG_alter
function
Perform alterations to a structured query for a given tag.

Perform alterations to a structured query for a given tag.

Comments

sebas5384’s picture

Heres a very simple but really handy example of use:
http://drupal.org/node/1157006#comment-7634027