mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 09:19:28 +00:00
Bug 289736: error message in query.cgi: Unknown column 'relevance' - Patch by Teemu Mannermaa <wicked@etlicon.fi> r=jouni a=justdave
This commit is contained in:
parent
1e376c10a5
commit
cb5017a3ec
@ -161,7 +161,7 @@ if ($::buffer =~ /&cmd-/) {
|
||||
# we'll remove the relevance column from the lists of columns to display
|
||||
# and order by, since relevance only exists when doing a fulltext search.
|
||||
my $fulltext = 0;
|
||||
if (defined $cgi->param('content')) { $fulltext = 1 }
|
||||
if ($cgi->param('content')) { $fulltext = 1 }
|
||||
my @charts = map(/^field(\d-\d-\d)$/ ? $1 : (), $cgi->param());
|
||||
foreach my $chart (@charts) {
|
||||
if ($cgi->param("field$chart") eq 'content' && $cgi->param("value$chart")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user