Commit aae01c43 authored by tara%tequilarista.org's avatar tara%tequilarista.org

Landing fix for keyword column handling--bug #39647

parent 2a5ba50f
......@@ -810,7 +810,7 @@ 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";
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment