[TYPO3-dam-devel] RFC #12917: allow alphabetical ordering of categories everywhere by setting $TCA['tx_dam_cat']['ctrl']['default_sortby'] = title
Peter Foerger
pfoerger at gmail.com
Tue Jan 5 22:04:10 CET 2010
Hi Uschi, glad to see you around
Uschi Renziehausen schrieb:
>
> Solution:
> The attached two patches make dam and dam_catedit respect the
> $TCA-settings hopefully everywhere. To get an alphabeticaly ordered by
> title define the following in $TCA:
>
> t3lib_div::loadTCA(tx_dam_cat);
> unset($TCA['tx_dam_cat']['ctrl']['sortby']);
> $TCA['tx_dam_cat']['ctrl']['default_sortby'] = 'ORDER BY title';
+1 by testing
~Peter
More information about the TYPO3-team-dam
mailing list