diff options
author | mkanat%bugzilla.org <> | 2009-04-29 02:32:28 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-04-29 02:32:28 +0200 |
commit | b2a9095488134b9fa564cc25791191da2880ab08 (patch) | |
tree | d0833c5ce001bf44d5c6adca10fec99979b9285e /Bugzilla/Search | |
parent | 3008e800c821c1f38b16feb4180165dbe0f30a13 (diff) | |
download | bugzilla-b2a9095488134b9fa564cc25791191da2880ab08.tar.gz bugzilla-b2a9095488134b9fa564cc25791191da2880ab08.tar.xz |
Bug 490562: QuickSearch "+" operator adds $qsword over and over for @subWords
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/Search')
-rw-r--r-- | Bugzilla/Search/Quicksearch.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search/Quicksearch.pm b/Bugzilla/Search/Quicksearch.pm index 04216b80c..54f6c9366 100644 --- a/Bugzilla/Search/Quicksearch.pm +++ b/Bugzilla/Search/Quicksearch.pm @@ -240,7 +240,7 @@ sub quicksearch { my @subWords = split(/[\|,]/, $baseWord); if ($firstChar eq '+') { foreach (@subWords) { - addChart('short_desc', 'substring', $qsword, $negate); + addChart('short_desc', 'substring', $_, $negate); } } elsif ($firstChar eq '#') { |