Project

General

Profile

Actions

Feature #87798

closed

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

Added by Peter no-lastname-given over 5 years ago. Updated almost 5 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

Actions #1

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!

Actions #2

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

Actions #3

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

Actions #4

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

Actions #5

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

Actions #6

Updated by Christian Eßl about 5 years ago

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

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF