add sort in file manager

This commit is contained in:
Simon Vieille 2022-02-13 16:37:18 +01:00
parent 4db2ef2679
commit dd49f2fff1

View file

@ -87,7 +87,7 @@ class FsFileManager
}
if ($sorted) {
if ('asc' === $direction) {
if ('desc' === $direction) {
$finder->reverseSorting();
}
}