From aae01c439df42dc3a9f22ab52e3ac9b80a1e9279 Mon Sep 17 00:00:00 2001 From: "tara%tequilarista.org" <> Date: Sat, 3 Jun 2000 04:34:37 +0000 Subject: Landing fix for keyword column handling--bug #39647 --- buglist.cgi | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'buglist.cgi') diff --git a/buglist.cgi b/buglist.cgi index 34cd9fbeb..409ef3812 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -803,14 +803,14 @@ DefCol("summary", "substring(bugs.short_desc, 1, 60)", "Summary", "", 1); DefCol("summaryfull", "bugs.short_desc", "Summary", "", 1); DefCol("status_whiteboard", "bugs.status_whiteboard", "StatusSummary", "bugs.status_whiteboard", 1); DefCol("component", "substring(bugs.component, 1, 8)", "Comp", - "bugs.component"); + "bugs.component"); DefCol("product", "substring(bugs.product, 1, 8)", "Product", "bugs.product"); DefCol("version", "substring(bugs.version, 1, 5)", "Vers", "bugs.version"); DefCol("os", "substring(bugs.op_sys, 1, 4)", "OS", "bugs.op_sys"); DefCol("target_milestone", "bugs.target_milestone", "TargetM", "bugs.target_milestone"); DefCol("votes", "bugs.votes", "Votes", "bugs.votes desc"); -DefCol("keywords", "bugs.keywords", "Keywords", "bugs.keywords"); +DefCol("keywords", "bugs.keywords", "Keywords", "bugs.keywords", 5); my @collist; if (defined $::COOKIE{'COLUMNLIST'}) { @@ -978,8 +978,10 @@ my @th; foreach my $c (@collist) { if (exists $::needquote{$c}) { my $h = ""; - if ($::needquote{$c}) { + if ($::needquote{$c} == 1) { $h .= ""; + } elsif ($::needquote{$c} == 5) { + $h .= ""; } else { $h .= ""; } @@ -1099,11 +1101,12 @@ while (@row = FetchSQLData()) { if ($c eq "owner") { $ownerhash{$value} = 1; } - if ($::needquote{$c}) { + if ($::needquote{$c} || $::needquote{$c} == 5) { $value = html_quote($value); } else { $value = "$value"; } + pnl "$value"; } } -- cgit v1.2.3-24-g4f1b