]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2002-09-19 23:46:10 by cjwatson]
authorcjwatson <>
Fri, 20 Sep 2002 06:46:10 +0000 (22:46 -0800)
committercjwatson <>
Fri, 20 Sep 2002 06:46:10 +0000 (22:46 -0800)
Fix viewing archived bugs by source package ($pkg wasn't defined, but this
only affected archived bugs because $bugfunc isn't used otherwise).

cgi/pkgreport.cgi
debian/changelog

index a632d404d22fa85f3a4cec106b09968f87390cdf..e9f22df3498f82d2b0f35651ac98fc8d5b25552f 100755 (executable)
@@ -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";
index 2466fd399407739052a0018169aa32d4c72310bc..614c049b33600c70ab3ab918b8590b24af2c6a48 100644 (file)
@@ -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 <jrodin@jagor.srce.hr>  UNRELEASED