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:
Sean Harvey 2010-11-04 20:38:52 +00:00
parent 07e7579f4f
commit 88a8cef187
1 changed files with 1 additions and 1 deletions

View File

@ -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;