add sort in file manager
This commit is contained in:
parent
4db2ef2679
commit
dd49f2fff1
|
@ -87,7 +87,7 @@ class FsFileManager
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($sorted) {
|
if ($sorted) {
|
||||||
if ('asc' === $direction) {
|
if ('desc' === $direction) {
|
||||||
$finder->reverseSorting();
|
$finder->reverseSorting();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue