diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-06-13 21:25:50 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-06-13 21:25:50 +0000 |
commit | 16438986c85a8aa4fa5082fb8527d3fceaa3e542 (patch) | |
tree | 56cb8675816440f143e4c142031802fd6b25ce42 /lib | |
parent | 598a6147aadc3e3aecca6b2a1f62c86fcf42d6c4 (diff) | |
download | mgaadvisories-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')
-rw-r--r-- | lib/MGA/Advisories.pm | 2 |
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 { |