[BUGFIX] Respect TSconfig option showHistory
The TSconfig `options.showHistory` is not respected inside the core. Add checks for list view and context menu. Inside EditDocumentController the "Record History" button is being rendered twice but the TSconfig condition is only checked once. Resolves: #79128 Releases: master, 8.7 Change-Id: Ifa884be5882772e8c267a7eb8036c53cf987bcfb Reviewed-on: https://review.typo3.org/51090 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Mathias Schreiber <mathias.schreiber@typo3.com> Tested-by:
Mathias Schreiber <mathias.schreiber@typo3.com> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Tymoteusz Motylewski <t.motylewski@gmail.com> Tested-by:
Tymoteusz Motylewski <t.motylewski@gmail.com>
Showing
- typo3/sysext/backend/Classes/ContextMenu/ItemProviders/RecordProvider.php 3 additions, 1 deletion...kend/Classes/ContextMenu/ItemProviders/RecordProvider.php
- typo3/sysext/backend/Classes/Controller/EditDocumentController.php 47 additions, 47 deletions...ext/backend/Classes/Controller/EditDocumentController.php
- typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php 10 additions, 6 deletions...sext/recordlist/Classes/RecordList/DatabaseRecordList.php
Please register or sign in to comment