From fdd39823ba9560dd23e17aa7a42513ed3de0f13c Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Fri, 8 Jan 2010 07:05:52 +0000 Subject: #609140 by mcarbone: Rewrite outdated references to taxonomy_term_node(). --- modules/search/search.api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/search') diff --git a/modules/search/search.api.php b/modules/search/search.api.php index 2912b30f7..5908c74cb 100644 --- a/modules/search/search.api.php +++ b/modules/search/search.api.php @@ -156,8 +156,8 @@ function hook_search_execute($keys = NULL) { // Insert special keywords. $query->setOption('type', 'n.type'); $query->setOption('language', 'n.language'); - if ($query->setOption('term', 'tn.nid')) { - $query->join('taxonomy_term_node', 'tn', 'n.vid = tn.vid'); + if ($query->setOption('term', 'ti.tid')) { + $query->join('taxonomy_index', 'ti', 'n.nid = ti.nid'); } // Only continue if the first pass query matches. if (!$query->executeFirstPass()) { -- cgit v1.2.3