diff --git a/Configuration/TCA/tx_sgjobs_domain_model_job.php b/Configuration/TCA/tx_sgjobs_domain_model_job.php index b1794d5ac149db041b75346a689d3c1cfd6667b9..017efc1c1989051cff68bd379ffedfc37350733f 100644 --- a/Configuration/TCA/tx_sgjobs_domain_model_job.php +++ b/Configuration/TCA/tx_sgjobs_domain_model_job.php @@ -160,6 +160,7 @@ return [ 'type' => 'select', 'renderType' => 'selectSingle', 'foreign_table' => 'tx_sgjobs_domain_model_department', + 'foreign_table_where' => ' AND (tx_sgjobs_domain_model_department.sys_language_uid=###REC_FIELD_sys_language_uid### OR tx_sgjobs_domain_model_department.sys_language_uid=-1) ORDER BY tx_sgjobs_domain_model_department.sorting ASC', 'minitems' => 1, 'items' => [ [