Feature #65550

Create configuration possibility to define sorting order of tables listed in List module

Added by Markus Klein over 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
Start date:
2015-07-09
Due date:
2015-07-09
% Done:

100%

PHP Version:
Tags:
Complexity:
medium
Sprint Focus:
Remote Sprint

Description

The idea is to add a configuration option like:

mod.web_list.tableSortingOrder.<table name>.<before|after> = <list of table names>

Example:

mod.web_list.tableSortingOrder.tt_content.after = pages
mod.web_list.tableSortingOrder.tx_news_domain_model_news.after = tt_content,pages
mod.web_list.tableSortingOrder.sys_category.after = pages
mod.web_list.tableSortingOrder.sys_category.before = tx_news_domain_model_news

For resolving this list the DependencyResolver for packages might be reused, which already implements a tree-based resolution algorithm.


Related issues

Duplicated by TYPO3 Core - Feature #18424: Enable manual ordering of tables in list view Closed 2008-03-11
Follows TYPO3 Core - Task #67986: Adjust DependencyOrderService to set elements without dependencies last Closed 2015-07-08

Associated revisions

Revision 6e32ae86 (diff)
Added by Markus Klein almost 5 years ago

[FEATURE] List module: Make table display order configurable

Resolves: #65550
Releases: master
Change-Id: I4f6da5f4d4e6a2834e619f683e77d055ac682566
Reviewed-on: http://review.typo3.org/40932
Reviewed-by: Daniel Maier <>
Tested-by: Daniel Maier <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Markus Klein over 5 years ago

  • Description updated (diff)

#2 Updated by Stephan Großberndt over 5 years ago

When you have a lot of tables in a complex extension and most of the are not used very often it's a long way to scroll to the correct table.

The feature of sorting tables at least in an extension was there before by defining the order of the tables ctrl sections in ext_tables.php.

Since the tables are not defined in ext_tables.php anymore but solely in Configuration/TCA/tx_myextension_xxx.php this is not possible anymore.

I consider this to be a valuable addition!

#3 Updated by Stephan Großberndt over 5 years ago

  • Subject changed from Create configuration possibilty to define sorting order of tables listed in List module to Create configuration possibility to define sorting order of tables listed in List module

#4 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 http://review.typo3.org/40932

#5 Updated by Markus Klein almost 5 years ago

  • Sprint Focus set to Remote Sprint

#6 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 http://review.typo3.org/40932

#7 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 http://review.typo3.org/40932

#8 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 http://review.typo3.org/40932

#9 Updated by Gerrit Code Review almost 5 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40932

#10 Updated by Gerrit Code Review almost 5 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40932

#11 Updated by Gerrit Code Review almost 5 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40932

#12 Updated by Gerrit Code Review almost 5 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40932

#13 Updated by Gerrit Code Review almost 5 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40932

#14 Updated by Markus Klein almost 5 years ago

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

#15 Updated by Riccardo De Contardi over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF