Skip to content

Commit

Permalink
[BUGFIX] Use correct fallback for sort field in FileBrowser
Browse files Browse the repository at this point in the history
Resolves: #101304
Related: #100949
Releases: main, 12.4
Change-Id: I5ca63b7cdc8fb039392d29490f3e64facb0ba4c1
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79936
Tested-by: Benjamin Franzke <ben@bnf.dev>
Reviewed-by: Benjamin Franzke <ben@bnf.dev>
Tested-by: core-ci <typo3@b13.com>
  • Loading branch information
nhovratov authored and bnf committed Jul 10, 2023
1 parent 0e8deb2 commit f5f0cac
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -122,7 +122,7 @@ public function render()
$this->filelist->start(
$this->selectedFolder,
MathUtility::forceIntegerInRange($this->currentPage, 1, 100000),
$this->getRequest()->getQueryParams()['sort'] ?? 'asc',
$this->getRequest()->getQueryParams()['sort'] ?? '',
($this->getRequest()->getQueryParams()['reverse'] ?? '') === '1',
Mode::BROWSE
);
Expand Down

0 comments on commit f5f0cac

Please sign in to comment.