Commit 128828a5 authored by Stefan Froemken's avatar Stefan Froemken Committed by Susanne Moog
Browse files

[BUGFIX] Respect showHiddenFiles in filelist module

Activating "showHiddenFilesAndFolders" in BE User
settings shows hidden files and folders also when
navigating through the files in filelist module.

Resolves: #91309
Releases: master, 9.5
Change-Id: I8f04b43a2cc0df93b6e77290caed2b33c6951e44
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64424


Tested-by: Daniel Goerz's avatarDaniel Goerz <daniel.goerz@posteo.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: Susanne Moog's avatarSusanne Moog <look@susi.dev>
Reviewed-by: Daniel Goerz's avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: Susanne Moog's avatarSusanne Moog <look@susi.dev>
parent 0fee8243
......@@ -172,7 +172,7 @@ class FileListController extends ActionController implements LoggerAwareInterfac
try {
if ($combinedIdentifier) {
/** @var ResourceFactory $resourceFactory */
$this->getBackendUser()->evaluateUserSpecificFileFilterSettings();
$resourceFactory = GeneralUtility::makeInstance(ResourceFactory::class);
$storage = $resourceFactory->getStorageObjectFromCombinedIdentifier($combinedIdentifier);
$identifier = substr($combinedIdentifier, strpos($combinedIdentifier, ':') + 1);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment