summaryrefslogtreecommitdiffstats
path: root/lib.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-09-04 16:56:01 +0000
committerRomain d'Alverny <rda@mageia.org>2012-09-04 16:56:01 +0000
commitb6a1bffd90a5f5fd38bb7208bc79e210ff6030ae (patch)
tree2640815712e79cbae175532ab17ccfc67662594c /lib.php
parentebc111aa2ac33a8a4c19bb3a8789412b4a6b4af7 (diff)
downloadpkgsubmit-b6a1bffd90a5f5fd38bb7208bc79e210ff6030ae.tar
pkgsubmit-b6a1bffd90a5f5fd38bb7208bc79e210ff6030ae.tar.gz
pkgsubmit-b6a1bffd90a5f5fd38bb7208bc79e210ff6030ae.tar.bz2
pkgsubmit-b6a1bffd90a5f5fd38bb7208bc79e210ff6030ae.tar.xz
pkgsubmit-b6a1bffd90a5f5fd38bb7208bc79e210ff6030ae.zip
sort packagers uploads
Diffstat (limited to 'lib.php')
-rw-r--r--lib.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib.php b/lib.php
index 6b87f71..aff9929 100644
--- a/lib.php
+++ b/lib.php
@@ -300,6 +300,7 @@ S;
public static function js_draw_packagers_chart($data, $id)
{
$rows = array();
+ arsort($data);
foreach ($data as $packager => $count) {
$rows[] = sprintf("['%s', %d]", $packager, $count);
}