From: Max Kanat-Alexander Date: Wed, 8 Sep 2010 01:34:19 +0000 (-0700) Subject: Bug 584414: Searching for bugs with "at least X votes" was broken in 3.6 only. X-Git-Tag: bugzilla-3.6.3~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9de08340975efaab3d8f97547753e9fbbdc28bf3;p=thirdparty%2Fbugzilla.git Bug 584414: Searching for bugs with "at least X votes" was broken in 3.6 only. r=LpSolit, a=LpSolit --- diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index e6e57b2ccb..4340025a87 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -346,6 +346,8 @@ sub init { } foreach my $field ($params->param()) { + # "votes" got special treatment, above. + next if $field eq 'votes'; if (grep { $_->name eq $field } @legal_fields) { my $type = $params->param("${field}_type"); if (!$type) {