Project

General

Profile

Actions

Feature #65862

closed

TCA Sortby

Added by Jelle Groenendal over 9 years ago. Updated about 9 years ago.

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

0%

Estimated time:
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

Actions #1

Updated by Frederic Gaus over 9 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.

Actions #2

Updated by Wouter Wolters about 9 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.

Actions

Also available in: Atom PDF