summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-04-29 02:32:28 +0200
committermkanat%bugzilla.org <>2009-04-29 02:32:28 +0200
commitb2a9095488134b9fa564cc25791191da2880ab08 (patch)
treed0833c5ce001bf44d5c6adca10fec99979b9285e
parent3008e800c821c1f38b16feb4180165dbe0f30a13 (diff)
downloadbugzilla-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
-rw-r--r--Bugzilla/Search/Quicksearch.pm2
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 '#') {