Project

General

Profile

Actions

Feature #64197

closed

Add support for foreign_default_sortby on TCA inline fields

Added by Jan Kornblum almost 10 years ago. Updated 10 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Start date:
2015-01-08
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The origin issue has been closed (see below). But shouldn't this feature be implemented at all? I've seen several posts across the internet from people missing this feature...

--- Original issue ---

Issue #50439 has been updated by Alexander Opitz.

Status changed from Needs Feedback to Closed

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

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.
----------------------------------------
Feature #50439: Reopened: Add support for foreign_default_sortby on TCA inline fields
http://forge.typo3.org/issues/50439#change-243018

Author: Jan Kornblum
Status: Closed
Priority: Should have
Assigned To:
Category: Extbase
Target version:
Has patch: No
Tags:
Complexity:

Persistence needs support for sorting child records by foreign_default_sortby, see http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/4/2/#id4431730

Won't this be implemented at all? Without the possibility of sorting children (object storage) nearly each domain model needs to be an aggregate root!?

Imagine you would like to output the following list in fluid (categories <1:n> seminars <1:n> events, where the children are lazy object storages in the parent):

- Categories (Alphabetical)
--- Seminars (Alphabetical)
------ Events (By date)

Currently this seems only to be possible by using something like FED DataSortViewHelper. The "usort" method in the model didn't work in my case because of some boolean issues i didn't figure out.

Is there really no possibility to extend extbase to respect a TCA "foreign_default_sortby" annotation?


Files

foreign_default_sortby.patch (5.69 KB) foreign_default_sortby.patch JAKOTA Design Group GmbH, 2023-02-28 17:54

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #27659: sorting by $TCA foreign_sortby vs. foreign_default_sortbyClosed2012-07-22

Actions
Actions

Also available in: Atom PDF