Closed (fixed)
Project:
Drupal core
Version:
6.13
Component:
taxonomy.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2009 at 20:06 UTC
Updated:
9 Feb 2012 at 20:30 UTC
Hi:
Please, a need help to filter by one taxonomy term using hook_db_rewrite_sql().
function mymodule_db_rewrite_sql($query, $table, $primary_field) {
switch ($primary_field) {
case 'tid':
$rquery['join'] = 'INNER JOIN t ON n.tid = t.nid';
$rquery['where'] = 'WHERE t.tid = 3656';
return $rquery;
}
}
thanks.
Comments
Comment #1
kars-t commentedHi
I am closing this issue to clean up the issue queue. Feel free to reopen the issue if there is new information and the problem still resides. If not please make sure you close your issues that you don't need any more.
Maybe you can get support from the local user group. Please take a look at this list at groups.drupal.org.