1
0
mirror of synced 2025-01-19 15:01:40 +03:00

reversed the order of search results

This commit is contained in:
jepso 2007-11-18 17:44:08 +00:00
parent 5d5e81ae04
commit 309c2936f7

View File

@ -88,7 +88,7 @@ class Doctrine_Search_Query
$where .= $this->parseClause($text); $where .= $this->parseClause($text);
$groupby = 'GROUP BY ' . $foreignId; $groupby = 'GROUP BY ' . $foreignId;
$orderby = 'ORDER BY relevance'; $orderby = 'ORDER BY relevance DESC';
$this->_sql = $select . ' ' . $from . ' ' . $where . ' ' . $groupby . ' ' . $orderby; $this->_sql = $select . ' ' . $from . ' ' . $where . ' ' . $groupby . ' ' . $orderby;
} }