aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--Rpmdrake/gui.pm4
2 files changed, 7 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 3d6d9546..7c571c46 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+- rpmdrake:
+ o fix listing updates per importance (#41331)
+ (regression introduced in 3.95 on 2007-09-14)
+
Version 4.9.13.4 - 9 September 2008, Thierry Vignaud
- rpmdrake:
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index a631f675..85d7cd29 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -543,9 +543,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}} ];
};
}