projects
/
project/drupal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ed614b8
)
Issue #648516 by cafuego, williamestrada: node_build_filter_query() should consider...
author
Gábor Hojtsy
Wed, 1 Feb 2012 13:26:36 +0000 (14:26 +0100)
committer
Gábor Hojtsy
Wed, 1 Feb 2012 13:26:36 +0000 (14:26 +0100)
modules/node/node.admin.inc
patch
|
blob
|
blame
|
history
diff --git
a/modules/node/node.admin.inc
b/modules/node/node.admin.inc
index
f20c12f
..
41f4730
100644
(file)
--- 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'";