[TYPO3-dev] List module destroying titles
Helmut Hummel
helmut.hummel at typo3.org
Mon Sep 7 12:01:54 CEST 2015
Hi!
Sebastian g wrote:
> The problem is that if I want to create a tag or country in list module the titles of all previously created items are destroyed. The text is replaced by numbers (e.g. 1024,1280,1536... 768).
A classic ;)
> Any ideas what I can do to fix that?
You should use default_sortby[1] instead of sortby[2]
So basically change
'sortby' => 'title'
to
'default_sortby' => 'ORDER BY title'
hth
Kind regards,
Helmut
[1]https://docs.typo3.org/typo3cms/TCAReference/Reference/Ctrl/Index.html#default-sortby
[2]https://docs.typo3.org/typo3cms/TCAReference/Reference/Ctrl/Index.html#sortby
--
Helmut Hummel
Release Manager TYPO3 6.0
TYPO3 CMS Active Contributor, TYPO3 Security Team Member
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the TYPO3-dev
mailing list