mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-11-09 02:12:33 +01:00
fixes #2279 sort list of dates by array key
for creation and posted date
This commit is contained in:
1 parent
d0fafcfc13
commit
4124a858f6
1 file changed
+3
@@ -214,6 +214,7 @@ SELECT
|
||||
}
|
||||
}
|
||||
}
|
||||
krsort($date_posted['list_of_dates']);
|
||||
|
||||
$template->assign('LIST_DATE_POSTED', $date_posted['list_of_dates']);
|
||||
$template->assign('DATE_POSTED', $counters);
|
||||
@@ -317,6 +318,8 @@ SELECT
|
||||
}
|
||||
}
|
||||
}
|
||||
krsort($date_created['list_of_dates']);
|
||||
|
||||
$template->assign('LIST_DATE_CREATED', $date_created['list_of_dates']);
|
||||
$template->assign('DATE_CREATED', $counters);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user