From: Don Armstrong Date: Sun, 3 Jan 2010 09:44:08 +0000 (-0800) Subject: properly use src:package when dealing with source packages and their affects X-Git-Tag: release/2.6.0~430^2 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=9e9371254528241edc90f34f8b0d7a08dd1830ca properly use src:package when dealing with source packages and their affects --- diff --git a/cgi/pkgreport.cgi b/cgi/pkgreport.cgi index 82382e8..8b73349 100755 --- a/cgi/pkgreport.cgi +++ b/cgi/pkgreport.cgi @@ -365,7 +365,8 @@ my $title = $gBugs.' '.join(' and ', map {/ or /?"($_)":$_} @title); if (not exists $param{affects} and not exists $param{noaffects} and (exists $param{source} or exists $param{package})) { - push @bugs, get_bugs((map {exists $param{$_}?($_ =~ /^(?:package|source)$/?'affects':$_,$param{$_}):()} + push @bugs, get_bugs((map {exists $param{$_}?($_ =~ /^(?:package|source)$/?'affects':$_, + ($_ eq 'source'?'src:'.$param{$_}:$param{$_})):()} grep {$_ ne 'newest'} keys %package_search_keys, 'archive'), usertags => \%ut,