Skip to content
Snippets Groups Projects
Commit 640b7891 authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Make columnsOnly table-aware

Defining columnsOnly, which is used by the
EditDocumentController to instruct the FormEngine
to only render a subset of available fields
for records is now table aware.

This allows to render records from different
tables in the same request, while respecting
the fields to be rendered on a per-table basis.

The "columnsOnly" parameter therefore now
requires the fields as array under the
corresponding table name:

&columnsOnly[pages][0]=title

A backwards-compatibility layer is in place,
migrating the previous syntax to the new one
by adding the configured fields for the
tables from the edit configuration.

Resolves: #104108
Releases: main, 12.4
Change-Id: I46500100eb369ad117a2cf5c61a9811c6fd5c7a3
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84711


Tested-by: default avatarJochen Roth <rothjochen@gmail.com>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarJochen Roth <rothjochen@gmail.com>
parent 0c3c22f4
Branches
Tags
No related merge requests found
Showing
with 268 additions and 51 deletions
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