diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-09-18 08:42:39 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-09-18 08:42:39 +0000 |
commit | 9bb187d4109fb6b2b3504e98338a7d4b9cccf9f5 (patch) | |
tree | 9aa8c5d39841320068602c9743e1cc85a8b37825 | |
parent | 909848f0fe2faf36ef8730aa968b2d38d684a757 (diff) | |
download | rpmdrake-9bb187d4109fb6b2b3504e98338a7d4b9cccf9f5.tar rpmdrake-9bb187d4109fb6b2b3504e98338a7d4b9cccf9f5.tar.gz rpmdrake-9bb187d4109fb6b2b3504e98338a7d4b9cccf9f5.tar.bz2 rpmdrake-9bb187d4109fb6b2b3504e98338a7d4b9cccf9f5.tar.xz rpmdrake-9bb187d4109fb6b2b3504e98338a7d4b9cccf9f5.zip |
fix listing noy all updates (aka only security, bugfixes or normal updates)
-rwxr-xr-x | rpmdrake | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -718,7 +718,9 @@ sub run_treeview_dialog { foreach my $importance (qw(bugfix security normal)) { $filter_methods{$importance} = sub { $filter_methods{all_updates}->(); - $pkgs = { grep { $descriptions->{$_}{importance} eq $importance } keys %$pkgs }; + $pkgs = { map { $_ => $pkgs->{$_} } grep { + my ($name, $version) = split_fullname($_); + $descriptions->{$name}{importance} eq $importance } keys %$pkgs }; }; } $filter_methods{mandrake_choices} = $filter_methods{non_installed}; |