reversed the order of search results
This commit is contained in:
parent
5d5e81ae04
commit
309c2936f7
@ -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…
x
Reference in New Issue
Block a user