summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-11-18 06:04:37 +0100
committerjustdave%syndicomm.com <>2001-11-18 06:04:37 +0100
commitfbae476ccc2716b13b0dbbce630a2f2576dc0564 (patch)
tree6d1b36520f5bdbe2963c7de14c130791f3b99f39 /buglist.cgi
parentd5149813356087a486d5abd5e1d57adbd8379395 (diff)
downloadbugzilla-fbae476ccc2716b13b0dbbce630a2f2576dc0564.tar.gz
bugzilla-fbae476ccc2716b13b0dbbce630a2f2576dc0564.tar.xz
Fix for bug 12284: allow user to specify which columns to display in a bug list
Patch by Andreas Franke <afranke@ags.uni-sb.de> r= gerv, kiko
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 18ad053dc..d49e7ed25 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -1004,7 +1004,9 @@ DefCol("votes", "bugs.votes", "Votes", "bugs.votes desc");
DefCol("keywords", "bugs.keywords", "Keywords", "bugs.keywords", 5);
my @collist;
-if (defined $::COOKIE{'COLUMNLIST'}) {
+if (defined $::FORM{'columnlist'}) {
+ @collist = split(/[ ,]+/, $::FORM{'columnlist'});
+} elsif (defined $::COOKIE{'COLUMNLIST'}) {
@collist = split(/ /, $::COOKIE{'COLUMNLIST'});
} else {
@collist = @::default_column_list;