From d108ed701d2b6159fb4e6cd2f2c3b7780bf55670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20E=C3=9Fl?= <indy.essl@gmail.com> Date: Sat, 15 Feb 2020 21:08:46 +0100 Subject: [PATCH] [BUGFIX] Show _REF_ label in filelist table header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A regression introduced with #87879 removed the _REF_ label in the header table row of the filelist module. This commit fixes this bug. Resolves: #90387 Relates: #87879 Releases: master Change-Id: I7c7289352d81b09576fce6b266fb6c7a11daeeb1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63265 Reviewed-by: Claus Due <claus@phpmind.net> Reviewed-by: Guido Schmechel <guido.schmechel@brandung.de> Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de> Reviewed-by: Georg Ringer <georg.ringer@gmail.com> Tested-by: Guido Schmechel <guido.schmechel@brandung.de> Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Georg Ringer <georg.ringer@gmail.com> --- typo3/sysext/filelist/Classes/FileList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/filelist/Classes/FileList.php b/typo3/sysext/filelist/Classes/FileList.php index 78c3fa970d84..871471d19106 100644 --- a/typo3/sysext/filelist/Classes/FileList.php +++ b/typo3/sysext/filelist/Classes/FileList.php @@ -334,7 +334,7 @@ class FileList if ($v === '_CLIPBOARD_') { $theData[$v] = $this->renderClipboardHeaderRow(!empty($iOut)); } elseif ($v === '_REF_') { - $theData[$v] = htmlspecialchars($this->getLanguageService()->getLL('c_' . $v)); + $theData[$v] = htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels._REF_')); } else { // Normal row $theData[$v] = $this->linkWrapSort($this->folderObject->getCombinedIdentifier(), $v); -- GitLab