Project

General

Profile

Actions

Bug #24333

closed

'sortby' Field in TCA Object

Added by conenergy agentur almost 14 years ago. Updated about 11 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-12-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Adding ‘sortby’ field to the TCA class causes rewriting of all entries after adding a new entry.

Steps to reproduce:
1. Add “sortby” field in the TCA class (ex. 'sortby' => 'title')
2. Create a new element of that class through the T3-Backend
3. Watch as all other elements of that class are filled with some numbers in the “sortby” field (ex. 'title')

(issue imported from #M16736)

Actions #1

Updated by Georg Ringer almost 14 years ago

of course as this is usually a integer field which is not displayed in the backend. What you are looking for is
--
'default_sortby' => 'ORDER BY crdate',
----

Actions #2

Updated by Christian Kuhn about 11 years ago

  • Status changed from New to Rejected
  • Target version deleted (0)
  • Is Regression set to No

Not an issue, wrong TCA field used ...

Actions

Also available in: Atom PDF