From ea0c5024c1701f6dfdc77c9161d9c0ff2f6c4bde Mon Sep 17 00:00:00 2001 From: Albert Ting Date: Wed, 20 Apr 2016 01:50:44 +0000 Subject: Bug 542239 - Accept pronouns everywhere in query.cgi r=dkl,a=dkl --- Bugzilla/Search.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 0785a7e67..646f949f5 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -1628,7 +1628,8 @@ sub _special_parse_email { my $email = trim($params->{"email$id"}); next if !$email; my $type = $params->{"emailtype$id"} || 'anyexact'; - $type = "anyexact" if $type eq "exact"; + # for backward compatibility + $type = "equals" if $type eq "exact"; my $or_clause = new Bugzilla::Search::Clause('OR'); foreach my $field (qw(assigned_to reporter cc qa_contact)) { -- cgit v1.2.1