diff options
author | tara%tequilarista.org <> | 2000-06-03 06:34:37 +0200 |
---|---|---|
committer | tara%tequilarista.org <> | 2000-06-03 06:34:37 +0200 |
commit | aae01c439df42dc3a9f22ab52e3ac9b80a1e9279 (patch) | |
tree | 43ef5564c1af69d86265f85f93a1d2599ee70f2b | |
parent | 2a5ba50ff167434bbbe87b15f3242d61dbf9fda9 (diff) | |
download | bugzilla-aae01c439df42dc3a9f22ab52e3ac9b80a1e9279.tar.gz bugzilla-aae01c439df42dc3a9f22ab52e3ac9b80a1e9279.tar.xz |
Landing fix for keyword column handling--bug #39647
-rwxr-xr-x | buglist.cgi | 11 |
1 files changed, 7 insertions, 4 deletions
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 .= "<TH WIDTH=100%>"; + } elsif ($::needquote{$c} == 5) { + $h .= "<TH>"; } else { $h .= "<TH>"; } @@ -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 = "<nobr>$value</nobr>"; } + pnl "<td class=$c>$value"; } } |