reversed the order of search results
This commit is contained in:
parent
5d5e81ae04
commit
309c2936f7
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ class Doctrine_Search_Query
|
|||
$where .= $this->parseClause($text);
|
||||
|
||||
$groupby = 'GROUP BY ' . $foreignId;
|
||||
$orderby = 'ORDER BY relevance';
|
||||
$orderby = 'ORDER BY relevance DESC';
|
||||
|
||||
$this->_sql = $select . ' ' . $from . ' ' . $where . ' ' . $groupby . ' ' . $orderby;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue