diff options
author | justdave%syndicomm.com <> | 2001-11-18 06:04:37 +0100 |
---|---|---|
committer | justdave%syndicomm.com <> | 2001-11-18 06:04:37 +0100 |
commit | fbae476ccc2716b13b0dbbce630a2f2576dc0564 (patch) | |
tree | 6d1b36520f5bdbe2963c7de14c130791f3b99f39 | |
parent | d5149813356087a486d5abd5e1d57adbd8379395 (diff) | |
download | bugzilla-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
-rwxr-xr-x | buglist.cgi | 4 |
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; |