Feature #87798

Provide a way to sort entries of persistenceIdentifier dropdown in EXT:form's FE Plugin

Added by Peter no-lastname-given over 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2019-02-26
Due date:
% Done:

100%

Estimated time:
PHP Version:
7.1
Tags:
Complexity:
easy
Sprint Focus:

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\FormPersistenceManager
is 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

#1

Updated by Peter no-lastname-given over 2 years ago

I forgot to mention the Forms listed in Form Manager would benefit from this too!

#2

Updated by Gerrit Code Review about 2 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

#3

Updated by Gerrit Code Review about 2 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

#4

Updated by Gerrit Code Review about 2 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

#5

Updated by Gerrit Code Review almost 2 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

#6

Updated by Christian Eßl almost 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#7

Updated by Benni Mack almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF