Closed cdaecke closed 7 months ago
I don't know how to reproduce, just had a look on a TYPO3 v10. Firstly I have much more fields on the general tab:
and secondly I don't have any "corrupted" Access tab.
I guess, you have ext:filemetadata
in place, so the code in the following condition does not apply:
True, that's the reason. Looks like at some point description
and title
have been added by default, or reordered.
Your solution seems to work but puts the Access tab after Categories, whereas it's supposed to be placed before.
As such, I'd say the correct fix should be to replace
'after:alternative'
by
'after:title'
instead.
I have added the changes.
Rearange TCA fields for
sys_file_metadata
to the same order like withoutext:fal_protect
.Without
ext:fal_protect
you have the following fields in theGeneral
tab:Installing
ext:fal_protect
will move the fieldsdescription
andtitle
to the tabAccess
.This pull request restores the field order to the "default" behaviour.