From 128828a57e68e3196338a8ac6db13aaa92b5ee1c Mon Sep 17 00:00:00 2001 From: Stefan Froemken <froemken@gmail.com> Date: Wed, 6 May 2020 11:19:42 +0200 Subject: [PATCH] [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 <daniel.goerz@posteo.de> Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Susanne Moog <look@susi.dev> Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by: Guido Schmechel <guido.schmechel@brandung.de> Reviewed-by: Susanne Moog <look@susi.dev> --- typo3/sysext/filelist/Classes/Controller/FileListController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/filelist/Classes/Controller/FileListController.php b/typo3/sysext/filelist/Classes/Controller/FileListController.php index d7c120f99f01..b72b5c432f42 100644 --- a/typo3/sysext/filelist/Classes/Controller/FileListController.php +++ b/typo3/sysext/filelist/Classes/Controller/FileListController.php @@ -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); -- GitLab