[TYPO3-bugs] RFC: alphabetically sorted TS tree in TS Object Browser
Ingmar Schlecht
ingmar at typo3.org
Tue Dec 12 12:33:22 CET 2006
Hi Ingo,
as you might have noticed if you're following the core-list, Ernesto
said people might prefer not to sort the tree alphabetically.
Could you therefore implement a checkbox in the Object Browser "Sort
alphabetically"? That'd be great.
cheers
Ingmar
Ingo Renner schrieb:
> This is a SVN patch request
>
>
> Description:
>
> When using the TS Object Browser to configure TYPO3 it is especially
> time consuming in long lists like under plugin.tt_news to find a certain
> property because the list is not ordered alphabetically.
> Having the list of properties sorted alphabetically will increase
> usability and reduce time spent looking for a certain property.
>
>
> Solution:
>
> The attached patch sorts the tree / list alphabetically.
> This also affects all other TS trees in TYPO3 which after searching
> though the code where the changed method is called affects
>
> * the User TS tree in the user admin module under tools
> * page TS tree under web->info
> * and of course the TS Object browser
>
>
> Branches: trunk
>
>
>
> Ingo
>
>
> ------------------------------------------------------------------------
>
> Index: /Users/ingo/Projects/typo3-svn/www/html/t3lib/class.t3lib_tsparser_ext.php
> ===================================================================
> --- /Users/ingo/Projects/typo3-svn/www/html/t3lib/class.t3lib_tsparser_ext.php (revision 1843)
> +++ /Users/ingo/Projects/typo3-svn/www/html/t3lib/class.t3lib_tsparser_ext.php (working copy)
> @@ -368,6 +368,7 @@
> $a=0;
>
> reset($arr);
> + ksort($arr);
> $keyArr_num=array();
> $keyArr_alpha=array();
> while (list($key,)=each($arr)) {
More information about the TYPO3-team-bugs
mailing list