]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch for bug 270263: 'Votes' should not be a column choice if param(usevotes) is...
authorjocuri%softhome.net <>
Sun, 5 Dec 2004 22:24:27 +0000 (22:24 +0000)
committerjocuri%softhome.net <>
Sun, 5 Dec 2004 22:24:27 +0000 (22:24 +0000)
colchange.cgi

index 0832381f8358e91e79ea1a6da00974d509764818..261f30a7212d644f142f7315b4eeac1af19462cf 100755 (executable)
@@ -47,12 +47,15 @@ my $cgi = Bugzilla->cgi;
 my @masterlist = ("opendate", "changeddate", "bug_severity", "priority",
                   "rep_platform", "assigned_to", "assigned_to_realname",
                   "reporter", "reporter_realname", "bug_status",
-                  "resolution", "product", "component", "version", "op_sys",
-                  "votes");
+                  "resolution", "product", "component", "version", 
+                  "op_sys");
 
 if (Param("usebugaliases")) {
     unshift(@masterlist, "alias");
 }
+if (Param("usevotes")) {
+    push (@masterlist, "votes");
+}
 if (Param("usetargetmilestone")) {
     push(@masterlist, "target_milestone");
 }