From: ajt <> Date: Sun, 8 Oct 2000 18:42:49 +0000 (-0800) Subject: [project @ 2000-10-08 11:42:49 by ajt] X-Git-Tag: release/2.6.0~1221 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=0c8689b3e2f2388d1bbe786e31ec347528fbb36f;p=debbugs.git [project @ 2000-10-08 11:42:49 by ajt] keywords -> tags bold tags add ,'s and format nicely --- diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index d114b1df..89eebbf5 100755 --- a/cgi/bugreport.cgi +++ b/cgi/bugreport.cgi @@ -83,8 +83,10 @@ $indexentry .= "Package: " .htmlsanit($status{package}).";\n"; $indexentry .= ";Reported by: ".htmlsanit($status{originator}); -$indexentry .= ";\nKeywords: ".htmlsanit($status{keywords}) - if length($status{keywords}); +$indexentry .= ";\nTags: " + . htmlsanit(join(", ", sort(split(/\s+/, $status{tags})))) + . "" + if length($status{tags}); my @merged= split(/ /,$status{mergedwith}); if (@merged) { diff --git a/cgi/common.pl b/cgi/common.pl index 7ae481f9..fc98cb52 100644 --- a/cgi/common.pl +++ b/cgi/common.pl @@ -54,8 +54,10 @@ sub htmlindexentrystatus { if (length($status{"package"})); $result .= $showseverity; $result .= "Reported by: " . htmlsanit($status{originator}); - $result .= ";\nKeywords: " . htmlsanit($status{keywords}) - if (length($status{keywords})); + $result .= ";\nTags: " + . htmlsanit(join(", ", sort(split(/\s+/, $status{tags})))) + . "" + if (length($status{tags})); my @merged= split(/ /,$status{mergedwith}); my $mseparator= ";\nmerged with "; @@ -323,7 +325,7 @@ sub getbugstatus { my $archdir = sprintf "%02d", $bugnum % 100; open(S,"$gSpoolDir/archive/$archdir/$bugnum.status" ) or return (); } - my @lines = qw(originator date subject msgid package keywords done + my @lines = qw(originator date subject msgid package tags done forwarded mergedwith severity); while() { chomp;