BUGFIX PostgreSQLDatabase::searchEngine() should use "Relevance" instead of the same name without the quotes (this was changed in SearchForm r113295)
This commit is contained in:
parent
07e7579f4f
commit
88a8cef187
|
@ -1434,7 +1434,7 @@ class PostgreSQLDatabase extends SS_Database {
|
|||
$query->select=$select[$row['table_name']];
|
||||
$query->from['tsearch']=", to_tsquery('english', '$keywords') AS q";
|
||||
|
||||
$query->select[]="ts_rank(\"{$row['column_name']}\", q) AS Relevance";
|
||||
$query->select[]="ts_rank(\"{$row['column_name']}\", q) AS \"Relevance\"";
|
||||
|
||||
$query->orderby=null;
|
||||
|
||||
|
|
Loading…
Reference in New Issue