Feature #87798
closedProvide a way to sort entries of persistenceIdentifier dropdown in EXT:form's FE Plugin
100%
Description
Hey guys,
I'm working on a project with > 50 forms that need to be migrated to EXT:form and realized the extension is lacking any feature to enable sorting for the dropdown in the FE plugin.
TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManageris in charge of creating arrays for the dropdown that are processed by the
TYPO3\CMS\Form\Hooks\DataStructureIdentifierHook
The methods
FormPersistenceManager->retrieveYamlFilesFromStorageFolders()and
FormPersistenceManager->retrieveYamlFilesFromExtensionFolders()are in charge of the related arrays with items in a random order. If there was just an
asort()for the returned array in place, one could structure the forms by some naming convention and improve the usability for editors a lot.
Cheers
Peter
Updated by Peter no-lastname-given over 5 years ago
I forgot to mention the Forms listed in Form Manager would benefit from this too!
Updated by Gerrit Code Review almost 5 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61896
Updated by Gerrit Code Review almost 5 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61896
Updated by Gerrit Code Review almost 5 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61896
Updated by Gerrit Code Review almost 5 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61896
Updated by Christian Eßl almost 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ad3267ec27d1c4a66da0119cf5d8364304daf60e.