Project

General

Profile

Actions

Bug #79782

closed

Localized records not found in backend when searching for a l10n_mode=exclude field

Added by Jan Kornblum almost 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2017-02-13
Due date:
% Done:

0%

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

Description

A tables 'label' field with type 'select' is set as 'l10n_mode=exclude'. Searching for this field using the backend list modules 'search' function only returns records in default language. Localized records are not found. With 4.5 LTS this used to work, both default language and localized records were found...

'ctrl' => array(
    'title' => 'Any title',
    'label' => 'formcode',
    'tstamp' => 'tstamp',
    'crdate' => 'crdate',
    'cruser_id' => 'cruser_id',
    'dividers2tabs' => TRUE,
    'default_sortby' => 'ORDER BY internal_sorting',
    'origUid' => 't3_origuid',
    'languageField' => 'sys_language_uid',
    'transOrigPointerField' => 'l10n_parent',
    'transOrigDiffSourceField' => 'l10n_diffsource',
    'delete' => 'deleted',
    'enablecolumns' => array(
        'disabled' => 'hidden',
        'starttime' => 'starttime',
        'endtime' => 'endtime',
    ),
    'searchFields' => 'formcode,',
    [...]
),

'columns' => array(
    [...]
    'formcode' => array(
        'exclude' => 1,
        'l10n_mode' => 'exclude',
        'label' => 'Any label',
        'config' => array(
            'type' => 'select',
            'foreign_table' => 'tx_myext_domain_model_formcode',
            'foreign_table_where' => 'AND tx_myext_domain_model_formcode.pid=###CURRENT_PID### AND tx_myext_domain_model_formcode.sys_language_uid IN (-1,0) ORDER BY tx_myext_domain_model_formcode.formcode',
            'minitems' => 0,
            'maxitems' => 1,
        ),
    ),    
    [...]
)
Actions #1

Updated by Mona Muzaffar over 7 years ago

  • Category changed from Backend User Interface to Localization
Actions #2

Updated by Benni Mack over 5 years ago

  • Status changed from New to Closed

Hi Jan,

I'm pretty sure this is fixed with TYPO3 v8 (we migrated the content properly). If this isn't the case for you, please let me know via email or slack, and I will re-open the ticket. OK with you?

Thanks.
Benni.

Actions

Also available in: Atom PDF