Project

General

Profile

Actions

Bug #80167

closed

Extbase Repository ordering is wrong within language overlays because it is always sorted by the default language instead of the overlay content

Added by S P over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-03-07
Due date:
% Done:

0%

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

Description

When defining a sort order in repository queries the order of the result set for translated views is wrong, because Extbase orders in the default language first and is doing the language overlay afterwards - it should be the other way round. In one of my projects this leads to the effect that in the German version (default language) everything is correct, but in the English display version the ordering of datasets is wrong. I have this for example with country names. The "Czech Republic" is ordered under "T" because in German it is "Tschechische Republik".

I noticed this with TYPO3 7.6, but it's probably in other versions, too.

Actions #1

Updated by Nicole Cordes over 7 years ago

  • Status changed from New to Needs Feedback

Hi Stefan,

Thank you for your report. I can't confirm your problem thought. Extbase does sort its items by the correct language if the query is defined in a proper way. Have you tried to set your query settings to the correct (current) language? As far as I understand your repository is working with the default language only and so the ordering is done in the wrong language as well.

Actions #2

Updated by Riccardo De Contardi over 7 years ago

  • Status changed from Needs Feedback to Closed

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

If you think that this is the wrong decision or experience the issue again or have more info about how to reproduce it, then please reopen it or open a new issue with a reference to this one. Thank you.

Actions

Also available in: Atom PDF