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:
parent
be765d214d
commit
57cf98bec5
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user