From fbae476ccc2716b13b0dbbce630a2f2576dc0564 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Sun, 18 Nov 2001 05:04:37 +0000 Subject: Fix for bug 12284: allow user to specify which columns to display in a bug list Patch by Andreas Franke r= gerv, kiko --- buglist.cgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3-24-g4f1b