]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Merge pull request #938 from ArthurHoaro/hotfix/tagcloud-order
authorArthurHoaro <arthur@hoa.ro>
Fri, 25 Aug 2017 17:58:32 +0000 (19:58 +0200)
committerGitHub <noreply@github.com>
Fri, 25 Aug 2017 17:58:32 +0000 (19:58 +0200)
Sort tag cloud in alphabetical order

index.php

index b4c4347a40c46addc904079ae31f36b6b08da707..76526bd54717efeaf2d56eed8f83ed6a6970e67d 100644 (file)
--- a/index.php
+++ b/index.php
@@ -803,7 +803,7 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history)
             $maxcount = max($maxcount, $value);
         }
 
-        alphabetical_sort($tags, true, true);
+        alphabetical_sort($tags, false, true);
 
         $tagList = array();
         foreach($tags as $key => $value) {