Project

General

Profile

Actions

Bug #69210

closed

Translated records are ordered like default language

Added by Romain Seignez over 8 years ago. Updated almost 8 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2015-08-20
Due date:
% Done:

0%

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

Description

Queries for other languages return the default language sorting.

In this example, when we are not on default language (config.sys_language_uid > 1), foo's objects are sorted by title of the default language. They should be sorted by the current language title.

$query = $fooRepository->createQuery();
$query->setOrderings(array('title' => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_ASCENDING));
$foo = $query->execute();

Typoscript config:

config.sys_language_overlay = 1
config.sys_language_mode = content_fallback
config.language = fr
config.locale_all  = fr_FR.UTF-8
config.sys_language_uid = 1


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #76674: setOrderings is not working correct with 1:m relations and l10n overlaysClosed2016-06-17

Actions
Actions

Also available in: Atom PDF