[BUGFIX] Replace all-embracing form in recordlist
All tables were previously wrapped by one form in the recordlist. Since #94218 this leads to problems because all tables now define another form for the "Show columns" selector. Nested forms are invalid markup. Therefore, effectively only the first table was wrapped by the general form. The remaining tables were not longer wrapped into a form, leading to problems when using the clipboard actions. This is now fixed by replacing the all-embracing form with dedicated forms for each displayed table. Besides fixing the mentioned problems, this change results in further improvements: * The forms are now dedicated to their table * The "Show columns" selector does not longer need to define a form itself * When updating the "Show columns" selection or when executing a clipboard action, the recordlist jumps to the correct table after reload, using an anchor tag * The clipboard related JavaScript can be simplified in an follow-up patch Resolves: #94302 Related: #94218 Releases: master Change-Id: Ib57abfe7bc9a2c9b6b3919a9ec78c25a87b8f08a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69453 Tested-by:core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
Showing
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/ClipboardComponent.ts 1 addition, 1 deletion...backend/Resources/Public/TypeScript/ClipboardComponent.ts
- Build/Sources/TypeScript/recordlist/Resources/Public/TypeScript/Recordlist.ts 1 addition, 1 deletion...ript/recordlist/Resources/Public/TypeScript/Recordlist.ts
- typo3/sysext/backend/Resources/Public/JavaScript/ClipboardComponent.js 1 addition, 1 deletion...backend/Resources/Public/JavaScript/ClipboardComponent.js
- typo3/sysext/core/Tests/Acceptance/Backend/Topbar/SearchCest.php 7 additions, 2 deletions...ysext/core/Tests/Acceptance/Backend/Topbar/SearchCest.php
- typo3/sysext/recordlist/Classes/Controller/RecordListController.php 0 additions, 2 deletions...xt/recordlist/Classes/Controller/RecordListController.php
- typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php 21 additions, 19 deletions...sext/recordlist/Classes/RecordList/DatabaseRecordList.php
- typo3/sysext/recordlist/Resources/Private/Templates/ColumnSelector.html 35 additions, 41 deletions...ecordlist/Resources/Private/Templates/ColumnSelector.html
- typo3/sysext/recordlist/Resources/Public/JavaScript/Recordlist.js 1 addition, 1 deletion...sext/recordlist/Resources/Public/JavaScript/Recordlist.js
Please register or sign in to comment