Commit 26773f19 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 289736: error message in query.cgi: Unknown column 'relevance' - Patch by…

Bug 289736: error message in query.cgi: Unknown column 'relevance' - Patch by Teemu Mannermaa <wicked@etlicon.fi> r=jouni a=justdave
parent f1e5b2aa
......@@ -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")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment