update changelog
This commit is contained in:
parent
85f44fcabb
commit
28f9a9f3f6
|
@ -6,6 +6,8 @@
|
||||||
* add builders to replace file information tags and url tags
|
* add builders to replace file information tags and url tags
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
* fix filemanager sorting
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
## 1.2.0
|
## 1.2.0
|
||||||
|
|
|
@ -72,6 +72,7 @@ class FsFileManager
|
||||||
|
|
||||||
$finder = new Finder();
|
$finder = new Finder();
|
||||||
$finder->directories()->depth('== 0')->in($this->path.'/'.$directory);
|
$finder->directories()->depth('== 0')->in($this->path.'/'.$directory);
|
||||||
|
|
||||||
$this->applySort($finder, $options['sort'] ?? 'name', $options['sort_direction'] ?? 'asc');
|
$this->applySort($finder, $options['sort'] ?? 'name', $options['sort_direction'] ?? 'asc');
|
||||||
|
|
||||||
foreach ($finder as $file) {
|
foreach ($finder as $file) {
|
||||||
|
|
Loading…
Reference in a new issue