0
我有TYPO3版本7.6.18。TYPO3 foreign_table_where無法正常工作
'images' => [
'label' => 'LLL:EXT:fefiles/Resources/Private/Language/locallang_db.xlf:images',
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_fefiles_domain_model_photo',
'foreign_field' => 'album',
'foreign_table_where' => 'AND tx_fefiles_domain_model_photo.allow = 1',
'maxitems' => '5000'
],
],
這是TCA for someone字段的配置。 在表tx_fefiles_domain_model_photo我有4行,其中id =專輯, 但允許= 1只有兩個。但我得到所有四行。我的條件tx_fefiles_domain_model_photo.allow = 1不起作用。我嘗試了不同的變體,清除緩存。真的,我需要你們的幫助,我一定要讓它工作,幫我請(
托馬斯,大danker! – Mikael