From af6b75b5622e7d50f3fc66b29a30e5177a020c86 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Sun, 5 Dec 2004 22:24:27 +0000 Subject: [PATCH] Patch for bug 270263: 'Votes' should not be a column choice if param(usevotes) is not true; patch by Shane H. W. Travis , r=jouni, a=justdave. --- colchange.cgi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/colchange.cgi b/colchange.cgi index 0832381f83..261f30a721 100755 --- a/colchange.cgi +++ b/colchange.cgi @@ -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"); } -- 2.47.2