mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 17:05:45 +02:00
Merge remote-tracking branch 'origin/1.2' into 1
This commit is contained in:
commit
2d11336dce
@ -261,6 +261,9 @@ class PostgreSQLDatabase extends SS_Database {
|
||||
* @return object DataObjectSet of result pages
|
||||
*/
|
||||
public function searchEngine($classesToSearch, $keywords, $start, $pageLength, $sortBy = "ts_rank DESC", $extraFilter = "", $booleanSearch = false, $alternativeFileFilter = "", $invertedMatch = false) {
|
||||
$start = (int)$start;
|
||||
$pageLength = (int)$pageLength;
|
||||
|
||||
//Fix the keywords to be ts_query compatitble:
|
||||
//Spaces must have pipes
|
||||
//@TODO: properly handle boolean operators here.
|
||||
|
Loading…
Reference in New Issue
Block a user