Create configuration possibility to define sorting order of tables listed in List module
The idea is to add a configuration option like:
mod.web_list.tableSortingOrder.<table name>.<before|after> = <list of table names>
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.
[FEATURE] List module: Make table display order configurable
Reviewed-by: Daniel Maier <firstname.lastname@example.org>
Tested-by: Daniel Maier <email@example.com>
Reviewed-by: Christian Kuhn <firstname.lastname@example.org>
Tested-by: Christian Kuhn <email@example.com>
#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!