Project

General

Profile

Bug #96626

Updated by Lina Wolf over 2 years ago

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

 by setting the searchcondition 

 <pre> 
 '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' 
                 ], 
             ] 
         ], 
     ), 

 </pre> 

 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: 

 !group_suggest.png! 

Back