mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01:00
issue #2414 update css and tag sort order
This commit is contained in:
1 parent
ac15835422
commit
b6312b5015
5 files changed
+19
-6
No files matched your search
@@ -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