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);
|
$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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user