File tree 1 file changed +6
-1
lines changed
Configuration/TCA/Overrides 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 21
21
$ tcaCodeGenerator ->setInlineTca ();
22
22
$ tcaCodeGenerator ->setElementsTca ();
23
23
$ GLOBALS ['TCA ' ]['tt_content ' ]['ctrl ' ]['searchFields ' ] = $ tcaCodeGenerator ->addSearchFields ('tt_content ' );
24
- $ GLOBALS ['TCA ' ]['tt_content ' ]['columns ' ]['bodytext ' ]['config ' ]['search ' ]['andWhere ' ] .= $ tcaCodeGenerator ->extendBodytextSearchAndWhere ();
24
+ $ versionString = \TYPO3 \CMS \Core \Utility \VersionNumberUtility::getNumericTypo3Version ();
25
+ if (\TYPO3 \CMS \Core \Utility \VersionNumberUtility::convertVersionNumberToInteger ($ versionString ) < 13004005 ) {
26
+ // no longer needed in TYPO3 13.4.5 and later
27
+ // https://review.typo3.org/c/Packages/TYPO3.CMS/+/85489
28
+ $ GLOBALS ['TCA ' ]['tt_content ' ]['columns ' ]['bodytext ' ]['config ' ]['search ' ]['andWhere ' ] .= $ tcaCodeGenerator ->extendBodytextSearchAndWhere ();
29
+ }
You can’t perform that action at this time.
0 commit comments