Actions
Bug #73547
closedcan't delete record when tca field "sortby" has direction
Start date:
2016-02-19
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
encounted while writing an extension:
When there is a direction given in the TCA field "sortby" in the crtl section, you can't delete the record in the backend.
'sortby' => 'id', -> deleteable
'sortby' => 'id DESC', -> not deleteable !
'default_sortby' => 'id', -> deleteable
'default_sortby' => 'id DESC', -> deleteable
tested on Typo3 Version 6.2.17 and 7.6.2
Updated by Mathias Schreiber almost 9 years ago
- Status changed from New to Needs Feedback
- Assignee set to Mathias Schreiber
Does it work when using default_sortby?
Updated by Mathias Schreiber almost 9 years ago
- Status changed from Needs Feedback to Closed
Screw my last remark, the report got cut off by Slack.
Yes, this is indeed correct.
"sortby" requests a "field", "id DESC" is not a fieldname.
Using default_sortby is the way to go here.
Updated by Philipp Parzer almost 9 years ago
ok, got it
although confusing because the sorting works
Actions