Skip to content
Snippets Groups Projects
Commit 7675624e authored by Markus Klein's avatar Markus Klein Committed by Frank Naegler
Browse files

[BUGFIX] Add textmedia CE's bodytext to BE search

Resolves: #76466
Releases: master, 7.6
Change-Id: Ib54d9c1434e2de8f783180a1c4789cac702afd73
Reviewed-on: https://review.typo3.org/48459


Tested-by: default avatarGianluigi Martino <gmartino27@gmail.com>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarFrank Naegler <frank.naegler@typo3.org>
Tested-by: default avatarFrank Naegler <frank.naegler@typo3.org>
parent 19e5b358
Branches
Tags
No related merge requests found
......@@ -55,6 +55,8 @@ call_user_func(function () {
'columnsOverrides' => ['bodytext' => ['defaultExtras' => 'richtext:rte_transform']]
];
$GLOBALS['TCA']['tt_content']['columns']['bodytext']['config']['search']['andWhere'] .= ' OR CType=\'textmedia\'';
// Add category tab when categories column exits
if (!empty($GLOBALS['TCA']['tt_content']['columns']['categories'])) {
$GLOBALS['TCA']['tt_content']['types']['textmedia']['showitem'] .=
......
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