summaryrefslogtreecommitdiff
path: root/modules/search.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/search.module')
-rw-r--r--modules/search.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search.module b/modules/search.module
index 5e519a4e0..1327e8bb7 100644
--- a/modules/search.module
+++ b/modules/search.module
@@ -511,7 +511,7 @@ function do_search($keys, $type, $join = '', $where = '1') {
$count_query = "SELECT $count";
// Do pager query
- $query = "SELECT i.type, i.sid, i.word, SUM(i.score/t.count) AS score FROM {search_index} i $join INNER JOIN {search_total} t ON i.word = t.word WHERE $where GROUP BY i.type, i.sid ORDER BY score DESC";
+ $query = "SELECT i.type, i.sid, SUM(i.score/t.count) AS score FROM {search_index} i $join INNER JOIN {search_total} t ON i.word = t.word WHERE $where GROUP BY i.type, i.sid ORDER BY score DESC";
$result = pager_query($query, 15, 0, $count_query, $arguments);
$results = array();