mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
issue #2414 update css and tag sort order
This commit is contained in:
@@ -219,6 +219,12 @@ if ( empty($page['is_external']) )
|
||||
);
|
||||
}
|
||||
|
||||
//We sort the array here because we want them sorted by counter and not alphabetically like before.
|
||||
usort($related_tags, function($a, $b) {
|
||||
return $b['counter'] <=> $a['counter'];
|
||||
});
|
||||
|
||||
|
||||
include_once(PHPWG_ROOT_PATH.'include/selected_tags.inc.php');
|
||||
|
||||
$template->assign(
|
||||
|
||||
Reference in New Issue
Block a user