[TYPO3-core] RFC: #13444: Filemounts are unsorted
Steffen Kamper
ks at dislabs.de
Sun Feb 7 15:26:03 CET 2010
Hi,
now i found a much better way to sort filemounts.
For sorting filemounts i use TCA setting if available. So it works for
4.3 as well without DB modification simply by adding this statement to
eg extTables.php:
$GLOBALS['TCA']['sys_filemounts']['ctrl']['sortby'] = 'title';
For trunk i added the field 'sorting' which allows manual sorting in
list module, and this is also the default sorting (which is without
changing anything the same as before)
The best thing is that this also influence the DAM foldertree, so no
additional patch has to be done.
Attached are patches for 4_3 and trunk.
vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 13444_v3_4_3.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100207/18ffae0e/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 13444_v3_trunk.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100207/18ffae0e/attachment.asc>
More information about the TYPO3-team-core
mailing list