Bug #27659
closedsorting by $TCA foreign_sortby vs. foreign_default_sortby
0%
Description
IRRE expects foreign_sortby to be a manual sorting field!
This setting triggers sorting controls in Backend and when saved IRRE tries to update the field values!
This is documented and intended behaviour of IRRE!
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/4/2/#id4431730
In extbase we need another way to get proper sorting of child records. To me it seems like support for
'foreign_default_sortby' is the way to go (if we stick with $TCA).
Files
Updated by Thomas Mammitzsch over 13 years ago
IRRE also hides the field which is used by foreign_sortby, so you can't edit it directly (f.e. if its a date field which you want to sort by).
Updated by Gerrit Code Review almost 13 years ago
- Status changed from New to Under Review
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/2622
Updated by Felix Oertel over 12 years ago
- Status changed from Under Review to Accepted
- Assignee set to Felix Oertel
- Target version set to Extbase 6.0
- Start date changed from 2011-06-23 to 2012-07-22
foreign_default_sortby can only used with non-MM relations. with MM relations foreign_sorting is always used to manual order the records. for non-MM relations extbase has to support the ordering (asc and desc) of child records of course.
the current patch is abandoned because it tries to solve the rejected issue [1] as well and is too difficult (SQL string split). we will try to come up with a solution at #ecs12s, but feel free to work on this!
Updated by Felix Oertel over 12 years ago
- Assignee changed from Felix Oertel to Anja Leichsenring
Updated by Gerrit Code Review over 12 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12987
Updated by Anja Leichsenring over 12 years ago
I created a little extension to track down the problem. It contains the test data as well. Feel free to use it to test the patch.
To see effects, manipulate the sorting options in TCA/Object1.
Updated by Gerrit Code Review over 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12987
Updated by Gerrit Code Review over 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12987
Updated by Alexander Schnitzler about 12 years ago
- Target version changed from Extbase 6.0 to Extbase 6.1
Updated by Anja Leichsenring about 12 years ago
- Status changed from Under Review to Accepted
- Assignee deleted (
Anja Leichsenring) - Priority changed from Must have to Should have
Updated by Alexander Schnitzler over 11 years ago
- Status changed from Accepted to Needs Feedback
- Assignee set to Alexander Schnitzler
Updated by Alexander Schnitzler over 11 years ago
- Target version changed from Extbase 6.1 to Extbase 6.2
Updated by Anja Leichsenring over 11 years ago
- Target version changed from Extbase 6.2 to Extbase 6.3
Updated by Gerrit Code Review over 11 years ago
- Status changed from Needs Feedback to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21565
Updated by Gerrit Code Review about 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21565
Updated by Gerrit Code Review about 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21565
Updated by Witali Rott about 11 years ago
- File DataMapFactory.php.patch DataMapFactory.php.patch added
!!Please remove this Comment!!
Updated by Alexander Schnitzler almost 11 years ago
- Assignee deleted (
Alexander Schnitzler)
Updated by Gerrit Code Review over 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/21565
Updated by Gerrit Code Review over 10 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/21565
Updated by Gerrit Code Review over 10 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/21565
Updated by Alexander Opitz about 10 years ago
- Project changed from 534 to TYPO3 Core
- Category changed from Extbase: Generic Persistence to Extbase
- Target version changed from Extbase 6.3 to 7.0
- TYPO3 Version set to 6.2
- Is Regression set to No
Updated by Mathias Schreiber almost 10 years ago
- Target version changed from 7.0 to 7.1 (Cleanup)
Updated by Benni Mack over 9 years ago
- Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
Updated by Anja Leichsenring over 9 years ago
- Status changed from Under Review to New
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Pascal Rinker over 5 years ago
- Related to Feature #64197: Add support for foreign_default_sortby on TCA inline fields added
Updated by Mathias Brodala over 4 years ago
- Status changed from New to Closed
Updated by Rainer Becker about 4 years ago
Any news on this? In TYPO3 10.4.9 the field used in foreign_sortby is still hidden from IRRE editing like described in the original ticket https://forge.typo3.org/issues/27659#note-1.