aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MGA/Advisories.pm
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-06-13 21:25:50 +0000
committerNicolas Vigier <boklm@mageia.org>2013-06-13 21:25:50 +0000
commit16438986c85a8aa4fa5082fb8527d3fceaa3e542 (patch)
tree56cb8675816440f143e4c142031802fd6b25ce42 /lib/MGA/Advisories.pm
parent598a6147aadc3e3aecca6b2a1f62c86fcf42d6c4 (diff)
downloadmgaadvisories-16438986c85a8aa4fa5082fb8527d3fceaa3e542.tar
mgaadvisories-16438986c85a8aa4fa5082fb8527d3fceaa3e542.tar.gz
mgaadvisories-16438986c85a8aa4fa5082fb8527d3fceaa3e542.tar.bz2
mgaadvisories-16438986c85a8aa4fa5082fb8527d3fceaa3e542.tar.xz
mgaadvisories-16438986c85a8aa4fa5082fb8527d3fceaa3e542.zip
mgaadv list: sort advisories list
Diffstat (limited to 'lib/MGA/Advisories.pm')
-rw-r--r--lib/MGA/Advisories.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MGA/Advisories.pm b/lib/MGA/Advisories.pm
index 4620948..7a58b0e 100644
--- a/lib/MGA/Advisories.pm
+++ b/lib/MGA/Advisories.pm
@@ -292,7 +292,7 @@ sub newadv {
sub listadv {
my ($advdb) = @_;
print map { "$_ . $advdb->{advisories}{$_}{subject}\n" }
- sort keys %{$advdb->{advisories}};
+ adv_sort($advdb, keys %{$advdb->{advisories}});
}
sub showadv {