With activated thumbnail option in ctrl section
of a TCA table configuration the thumbnails are not
rendered.
Resolves: #75496
Releases: master,7.6
Change-Id: I8ef40ffe300bf14474a3575d6fef4802b26c42e1
Reviewed-on: https://review.typo3.org/47746
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
trim($row[$thumbsCol]) &&
preg_match('/(^|(.*(;|,)?))' . $thumbsCol . '(((;|,).*)|$)/', $visibleColumns) === 1
) {
- $theData[$fCol] .= '<br />' . $this->thumbCode($row, $table, $thumbsCol);
+ $thumbCode = '<br />' . $this->thumbCode($row, $table, $thumbsCol);
+ $theData[$fCol] .= $thumbCode;
+ $theData['__label'] .= $thumbCode;
}
if (isset($GLOBALS['TCA'][$table]['ctrl']['languageField'])
&& $row[$GLOBALS['TCA'][$table]['ctrl']['languageField']] != 0