1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Tagcloud menu sorting fix.

This commit is contained in:
Cameron 2017-03-03 12:15:11 -08:00
parent be765d214d
commit 57cf98bec5

View File

@ -68,7 +68,7 @@ class tagcloud_menu
return "<a class='tag' href='".$tag['url']."'><span class='size".$size."'>".$tag['tag']."</span></a> "; return "<a class='tag' href='".$tag['url']."'><span class='size".$size."'>".$tag['tag']."</span></a> ";
}); });
$cloud->setOrder('tag','ASC'); $cloud->setOrder('size','DESC');
$limit = !empty($parm['tagcloud_limit']) ? intval($parm['tagcloud_limit']) : 50; $limit = !empty($parm['tagcloud_limit']) ? intval($parm['tagcloud_limit']) : 50;