]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 584414: Searching for bugs with "at least X votes" was broken in 3.6 only.
authorMax Kanat-Alexander <mkanat@bugzilla.org>
Wed, 8 Sep 2010 01:34:19 +0000 (18:34 -0700)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Wed, 8 Sep 2010 01:34:19 +0000 (18:34 -0700)
r=LpSolit, a=LpSolit

Bugzilla/Search.pm

index e6e57b2ccb75761042ab32622f5b02d928192430..4340025a877e5aa46c40c6c1372b1440565dd95f 100644 (file)
@@ -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) {