Project

General

Profile

Actions

Bug #96626

open

In TCA group fields the suggest wizard shows records in all languages

Added by Lina Wolf almost 3 years ago. Updated 4 months ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2022-01-24
Due date:
% Done:

0%

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

Description

on searching I find records in all languages without a hint which record is in which language.

by setting the searchcondition

'myfield' => array(
        'config' => [
            'type' => 'group',
            'allowed' => 'tx_xyz',
            'foreign_table' => 'tx_xyz',
            'MM' => 'tx_mymm',
            'suggestOptions' => [
                'default' => [
                    'searchCondition' => '(type = 0) AND sys_language_uid = 0'
                ],
            ]
        ],
    ),

I can limit it to the default language. However there seems to be no way to limit the records to the language of the language of the current record. That would have to be something akin to `sys_language_uid = ###REC_FIELD_sys_language_uid###` however this marker is not available in the suggest wizard.

Furthermore it would be important to display the language of records in the suggest wizard.

You currently cannot see which language a record is from if the title is the same:


Files

group_suggest.png (9.16 KB) group_suggest.png Lina Wolf, 2022-01-24 11:36

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Feature #40681: Enhance suggest wizard by limiting to certain languagesClosed2012-09-06

Actions
Actions

Also available in: Atom PDF