Commit 72f9a976 authored by Dries's avatar Dries

- Patch #172860 by chx: node search does not support revisioned terms.

parent e0c13423
......@@ -1115,7 +1115,7 @@ function node_search($op = 'search', $keys = NULL) {
$arguments1[] = $c;
}
$conditions1 .= ' AND ('. implode(' OR ', $categories) .')';
$join1 .= ' INNER JOIN {term_node} tn ON n.nid = tn.nid';
$join1 .= ' INNER JOIN {term_node} tn ON n.vid = tn.vid';
$keys = search_query_insert($keys, 'category');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment