diff options
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/gui.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index da151920..617ef120 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -542,9 +542,11 @@ sub pkgs_provider { ); foreach my $importance (qw(bugfix security normal)) { $tmp_filter_methods{$importance} = sub { + my @media = keys %$descriptions; [ grep { my ($name) = split_fullname($_); - $descriptions->{$name}{importance} eq $importance } @{$h->{updates}} ]; + my $medium = find { $descriptions->{$_}{$name} } @media; + $medium && $descriptions->{$medium}{$name}{importance} eq $importance } @{$h->{updates}} ]; }; } |