Issue Bug New Orphaned

#70154Extbase 'sorting' l10nmode

Marc Hirdes 09/28/15, 14:03 updated 04/28/21, 11:51

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] Extbase 'sorting' l10nmode Resolves: #70154 Releases: main