diff options
author | Byron Jones <bjones@mozilla.com> | 2013-04-17 19:18:03 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-04-17 19:18:03 +0200 |
commit | 27d9af24e9dbcb0facbd83d2133013d14ed19ebb (patch) | |
tree | e00f136c424707b50a7561283fce6f93e53d6cce /Bugzilla/Search/Quicksearch.pm | |
parent | e6c6efd5b30f184ac22410808b3bb263eb00779a (diff) | |
download | bugzilla-27d9af24e9dbcb0facbd83d2133013d14ed19ebb.tar.gz bugzilla-27d9af24e9dbcb0facbd83d2133013d14ed19ebb.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.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Bugzilla/Search/Quicksearch.pm b/Bugzilla/Search/Quicksearch.pm index 7424f831f..a5144d0e0 100644 --- a/Bugzilla/Search/Quicksearch.pm +++ b/Bugzilla/Search/Quicksearch.pm @@ -376,10 +376,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; } |