summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search/Quicksearch.pm
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-04-17 19:15:46 +0200
committerByron Jones <bjones@mozilla.com>2013-04-17 19:15:46 +0200
commitcd2776192dbaf1d21353f400eaf42d01e66b33f4 (patch)
tree18de730e2b1c4394eaacfdca8e468e4cf8e8d169 /Bugzilla/Search/Quicksearch.pm
parent5151736ba38fb79a811972960753313691226928 (diff)
downloadbugzilla-cd2776192dbaf1d21353f400eaf42d01e66b33f4.tar.gz
bugzilla-cd2776192dbaf1d21353f400eaf42d01e66b33f4.tar.xz
Bug 828344: Make "contains all of the words" look for all words within the same comment or flag
r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/Search/Quicksearch.pm')
-rw-r--r--Bugzilla/Search/Quicksearch.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/Bugzilla/Search/Quicksearch.pm b/Bugzilla/Search/Quicksearch.pm
index fc109a640..d073720a1 100644
--- a/Bugzilla/Search/Quicksearch.pm
+++ b/Bugzilla/Search/Quicksearch.pm
@@ -364,10 +364,8 @@ sub _handle_field_names {
my ($or_operand, $negate, $unknownFields, $ambiguous_fields) = @_;
# Flag and requestee shortcut
- if ($or_operand =~ /^(?:flag:)?([^\?]+\?)([^\?]*)$/) {
+ if ($or_operand =~ /^(?:flag:)?([^\?]+\?[^\?]*)$/) {
addChart('flagtypes.name', 'substring', $1, $negate);
- $chart++; $and = $or = 0; # Next chart for boolean AND
- addChart('requestees.login_name', 'substring', $2, $negate);
return 1;
}