Feature #65862

TCA Sortby

Added by Jelle Groenendal over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-03-20
Due date:
% Done:

0%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Hi everyone,

Why is not it possible to order the sortby function within the TCA?
I want to generate a DESC list by default but this is not possible with the current TCA.

Is this something that can be added or will be added in the future?

Regards,

Jelle

History

#1 Updated by Frederic Gaus about 4 years ago

  • Status changed from New to Needs Feedback

Do you want to do the following?

'ctrl' => array(
...
'default_sortby' => 'ORDER BY title DESC',
...
),

This is already possible. Please do not mix this up with the TCA-ctrl-field: "sortby" which only defines the field responsible to store the sorting.

#2 Updated by Wouter Wolters almost 4 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Also available in: Atom PDF