Hide unavailable webcams from selection

This commit is contained in:
Björn Fromme
2020-01-28 17:59:32 +01:00
parent ed315a6cda
commit 1d118250fc
@@ -563,7 +563,7 @@ return [
],
'renderType' => 'selectSingle',
'foreign_table' => 'tx_epproducts_domain_model_webcam',
'foreign_table_where' => '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',
'minitems' => 0,
'maxitems' => 1,
],