From 16438986c85a8aa4fa5082fb8527d3fceaa3e542 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Thu, 13 Jun 2013 21:25:50 +0000 Subject: mgaadv list: sort advisories list --- lib/MGA/Advisories.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.1