From: terry%mozilla.org <> Date: Sun, 23 Jan 2000 03:31:41 +0000 (+0000) Subject: Stupid typo caused "any words" and "all words" searches on the long X-Git-Tag: bugzilla-2.12~437 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6047034f72dbfa7fd344da57119e7af4d34f0d8c;p=thirdparty%2Fbugzilla.git Stupid typo caused "any words" and "all words" searches on the long description to crash. --- diff --git a/buglist.cgi b/buglist.cgi index 2fab69650d..181d4d066d 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -536,9 +536,9 @@ foreach my $f ("short_desc", "long_desc", "bug_file_loc", } elsif ($type eq "casesubstring") { $query .= "and instr($n, $q)\n"; } elsif ($type eq "allwords") { - $query .= GetByWordList($f, $s, "and"); + $query .= GetByWordList($n, $s, "and"); } elsif ($type eq "anywords") { - $query .= GetByWordList($f, $s, "or"); + $query .= GetByWordList($n, $s, "or"); } else { $query .= "and instr(lower($n), lower($q))\n"; }