[TYPO3-core] RFC: #11318: broken sorting of filemounts

Martin Kutschker masi-no at spam-typo3.org
Fri Jun 12 15:07:13 CEST 2009


Rupert Germann schrieb:
> hi georg,
> 
> the patch works, but there's one thing missing: the list view still shows
> the filemounts ordered by uid.
> 
> suggestion: add 
> 'default_sortby' => 'ORDER BY title'
> to TCA ctrl of sys_filemounts and use this value in the queries.
> 
> $GLOBALS['TCA']['sys_filemounts']['ctrl']['default_sortby']
> 
> (has to be appended directly to the where clause since it already
> contains "ORDER BY") 

I would remove the "order by" and use it in the correct argument.

Masi


More information about the TYPO3-team-core mailing list