Do not allow self reference for postponed date

This commit is contained in:
Daniel Siepmann 2021-03-16 15:22:27 +01:00
parent 3012816123
commit bfaa25c707

View file

@ -170,7 +170,7 @@ return [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'tx_events_domain_model_date',
'foreign_table_where' => ' AND {#tx_events_domain_model_date}.{#event} = ###REC_FIELD_event###',
'foreign_table_where' => ' AND {#tx_events_domain_model_date}.{#event} = ###REC_FIELD_event### AND {#tx_events_domain_model_date}.{#uid} != ###THIS_UID###',
'default' => '0',
'items' => [
'0' => [