[TYPO3-dev] Sorting of TCA Tree

Steffen Kamper info at sk-typo3.de
Mon Jan 24 22:48:41 CET 2011


Hi,

Am 24.01.2011 20:38, schrieb Sebastian Michaelsen:
> Hi,
>
> i just tried out the brand new TCA tree. It works great and is a good
> enhancement for my new project. I just wondered if there is no way to
> sort the tree.
>
> I have a hierarchical Category model with a parent_category field.
> It also has a sorting field and within one level the items should be
> sorted using that field but the items are always ordered by uid (or
> maybe raw database order).
>
> I scanned the source code but I did not find any configuration to
> achieve that.
> Any hints?
>

as it use the TCA configuration, use addWhere to add order clause just 
like in other select configurations.

vg Steffen




More information about the TYPO3-dev mailing list