feat: ignore availability status of webcam in TCA select field

This commit is contained in:
Björn Fromme
2023-12-12 13:58:40 +01:00
parent e28dafd873
commit 1da84641b6
@@ -549,7 +549,8 @@ return [
], ],
'renderType' => 'selectSingle', 'renderType' => 'selectSingle',
'foreign_table' => 'tx_epproducts_domain_model_webcam', 'foreign_table' => 'tx_epproducts_domain_model_webcam',
'foreign_table_where' => 'AND tx_epproducts_domain_model_webcam.available = 1 AND tx_epproducts_domain_model_webcam.snowreport=###REC_FIELD_snowreport### ORDER BY tx_epproducts_domain_model_webcam.name', // 'foreign_table_where' => 'AND tx_epproducts_domain_model_webcam.available = 1 AND tx_epproducts_domain_model_webcam.snowreport=###REC_FIELD_snowreport### ORDER BY tx_epproducts_domain_model_webcam.name',
'foreign_table_where' => 'AND tx_epproducts_domain_model_webcam.snowreport=###REC_FIELD_snowreport### ORDER BY tx_epproducts_domain_model_webcam.name',
'minitems' => 0, 'minitems' => 0,
'maxitems' => 1, 'maxitems' => 1,
], ],