Project

General

Profile

Actions

Bug #70154

open

Extbase 'sorting' l10nmode

Added by Marc Hirdes about 9 years ago. Updated over 3 years ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
Extbase + l10n
Target version:
-
Start date:
2015-09-28
Due date:
% Done:

0%

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

Description

When I use in the TCA ctrl-section of an item

'sortby' => 'sprting'

the translated items are on the same position as the default ones in the backend. But in the frontend the order is wrong.
When I add

protected $defaultOrderings = array(
        'sorting' => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_ASCENDING,
    );

in the repository the sorting worsk correct in the default language. But in another language the sorting is wrong. The problem is, that the sorting in the translated language is another number than in the default language, but it has to be the same because you can't move only the translated language. I hope you can understand the problem.


Files

28-09-_2015_14-02-33.png (71.5 KB) 28-09-_2015_14-02-33.png Marc Hirdes, 2015-09-28 14:03

Related issues 4 (1 open3 closed)

Related to TYPO3 Core - Bug #72988: losing Localization when moving elements (Typo 7.6.2)Closed2016-01-28

Actions
Related to TYPO3 Core - Bug #92093: Sorting of records in frontend with sys_language all (-1) and normalUnder Review2020-08-25

Actions
Related to TYPO3 Core - Bug #85377: Wrong sorting in list module by fields which are relations Closed2018-06-25

Actions
Related to TYPO3 Core - Bug #86059: Wrong sorting for localized entries in page module with 8.7.16 and higherClosed2018-08-31

Actions
Actions

Also available in: Atom PDF