summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/node/node.admin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.admin.inc b/modules/node/node.admin.inc
index f20c12f..41f4730 100644
--- a/modules/node/node.admin.inc
+++ b/modules/node/node.admin.inc
@@ -181,7 +181,7 @@ function node_build_filter_query() {
case 'category':
$table = "tn$index";
$where[] = "$table.tid = %d";
- $join .= "INNER JOIN {term_node} $table ON n.nid = $table.nid ";
+ $join .= "INNER JOIN {term_node} $table ON n.vid = $table.vid ";
break;
case 'type':
$where[] = "n.type = '%s'";