Project

General

Profile

Actions

Bug #23831

closed

Configuration module is hard to find the array key because it's not sorted

Added by Steffen Kamper about 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-10-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When you explore array in configuration module it's hard to find the array key you are looking for because display order is the init order.

Solution:
sort first level, optionally sort second level

(issue imported from #M16116)


Files

16116_configuration_sort.diff (1.92 KB) 16116_configuration_sort.diff Administrator Admin, 2010-10-23 17:54
16116_configuration_sort_v2.diff (2.66 KB) 16116_configuration_sort_v2.diff Administrator Admin, 2010-10-23 18:12
Actions #1

Updated by Steffen Kamper about 14 years ago

The 2nd patch is much better as it sorts the array recursive.
i introduced a new array function in t3lib_div called ksortRecursive, as this might be useful in many other places.

Actions #2

Updated by Steffen Kamper about 14 years ago

Committed v3 to trunk rev 9294

Actions #3

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF