From: cjwatson <> Date: Fri, 20 Sep 2002 06:46:10 +0000 (-0800) Subject: [project @ 2002-09-19 23:46:10 by cjwatson] X-Git-Tag: release/2.6.0~1051 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3a7c8f9eeec66a5e28560c1de6e3a848ed4ad666;p=debbugs.git [project @ 2002-09-19 23:46:10 by cjwatson] Fix viewing archived bugs by source package ($pkg wasn't defined, but this only affected archived bugs because $bugfunc isn't used otherwise). --- diff --git a/cgi/pkgreport.cgi b/cgi/pkgreport.cgi index a632d404..e9f22df3 100755 --- a/cgi/pkgreport.cgi +++ b/cgi/pkgreport.cgi @@ -109,7 +109,7 @@ if (defined $pkg) { $tag = "source $src"; my @pkgs = getsrcpkgs($src); push @pkgs, $src if ( !grep(/^\Q$src\E$/, @pkgs) ); - @bugs = @{getbugs(sub {my %d=@_; return $pkg eq $d{"pkg"}}, 'package', @pkgs)}; + @bugs = @{getbugs(sub {my %d=@_; return grep($d{"pkg"} eq $_, @pkgs)}, 'package', @pkgs)}; } elsif (defined $maint) { my %maintainers = %{getmaintainers()}; $tag = "maintainer $maint"; diff --git a/debian/changelog b/debian/changelog index 2466fd39..614c049b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -63,6 +63,8 @@ debbugs (2.4) experimental; urgency=low * Added preliminary cloning support. [Anthony] * Link to submitter's web page, patch from Matt Kraai. [Josip] * The autoconfig thing in the description is gone, closes: #124537. + * Fix viewing archived bugs by source package, closes: #121082, #146484. + [Colin] * Various other things, not worth mentioning here. -- Josip Rodin UNRELEASED