From eaeb9a85f9bc26dc52a4e1082e52ddd72718a55c Mon Sep 17 00:00:00 2001 From: doogie <> Date: Wed, 14 Nov 2001 00:29:50 -0800 Subject: [PATCH] [project @ 2001-11-14 00:29:50 by doogie] Sort bugs tagged 'pending' as 'pending upload', between 'forwarded' and 'fixed'. --- cgi/common.pl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cgi/common.pl b/cgi/common.pl index a0bfd53..1894a61 100644 --- a/cgi/common.pl +++ b/cgi/common.pl @@ -210,6 +210,7 @@ sub htmlizebugs { my %section = (); my %displayshowpending = ("pending", "outstanding", + "pending-fixed", "pending upload", "fixed", "fixed in NMU", "done", "resolved", "forwarded", "forwarded to upstream software authors"); @@ -257,7 +258,7 @@ sub htmlizebugs { my $result = ""; my $anydone = 0; - foreach my $pending (qw(pending forwarded fixed done)) { + foreach my $pending (qw(pending forwarded pending-fixed fixed done)) { foreach my $severity(@debbugs::gSeverityList) { $severity = $debbugs::gDefaultSeverity if ($severity eq ''); next unless defined $section{${pending} . "_" . ${severity}}; @@ -419,9 +420,10 @@ sub getbugstatus { $status{"severity"} = 'normal' if ($status{"severity"} eq ''); $status{"pending"} = 'pending'; - $status{"pending"} = 'forwarded' if (length($status{"forwarded"})); - $status{"pending"} = 'fixed' if ($status{"tags"} =~ /\bfixed\b/); - $status{"pending"} = 'done' if (length($status{"done"})); + $status{"pending"} = 'forwarded' if (length($status{"forwarded"})); + $status{"pending"} = 'fixed' if ($status{"tags"} =~ /\bfixed\b/); + $status{"pending"} = 'pending-fixed' if ($status{"tags"} =~ /\bpending\b/); + $status{"pending"} = 'done' if (length($status{"done"})); return \%status; } -- 2.39.2