Bug #104630
closedWrong documentation for options.file_list.primaryActions
0%
Description
There is a new configuration option in User TsConfig to configure shown buttons at module file_list since v12.0.
The options listed in changlog entry [1] and at the documentation [2] are wrong.
options.file_list.primaryActions
Wrong:
view,metadata,translations,copy,cut,delete
That would be right:
view,metadata,copy,cut,delete,replace,rename,download,edit,info,upload
[1] https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Feature-97821-OptionToConfigurePrimaryActionsInFileList.html
[2] https://docs.typo3.org/m/typo3/reference-tsconfig/main/en-us/UserTsconfig/Options.html#file-list-primaryactions
Updated by Garvin Hicking 3 months ago
- Assignee set to Garvin Hicking
Thank you! I think the changleog entry is correct, as it only gives examples. As for the docs, that list indeed seems incomplete - I will investigate!
Updated by Garvin Hicking 3 months ago
- Status changed from New to Closed
The defaults are listed in https://github.com/TYPO3/typo3/blob/main/typo3/sysext/filelist/Classes/FileList.php#L873 actually:
$primaryActions = ['view', 'metadata', 'translations', 'delete'];
The list of possible actions is this one currently:
edit metadata translations view replace rename download upload info delete copy cut paste updateOnlineMedia
I've created a PR to update this in the docs: https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-TSconfig/pull/542
Closing this issue, please let me know if I misunderstood anything. Thank you for bringing this up!