Hallo,
muss in meinem Repository an zwei stellen schauen ob ein Institut aus einem bestimmten Land kommt. Das habe ich wie folgt versucht:
$query->logicalOr( $query->equals('coordinatingInstitute.country.uid',(integer)$sterm['country']), $query->equals('institutes.country.uid',(integer)$sterm['country']) )
Das führt jedoch zu einer Exception mit folgender Meldung:
#1247602160: UNKNOWN COLUMN 'tx_nnctcp_project_institute_mm.uid_foreign' IN 'on clause': SELECT DISTINCT tx_nnctcp_domain_model_project.* FRO...
Lasse ich eine "Equals" Abfrage von beiden weg, funktioniert alles wunderbar.
Mache ich was falsch oder wie kann ich das lösen?
TypoScript kann alles, auch kochen! ...Man muss nur wissen wie ;-)
Take a look at my TYPO3 Extensions in the Repository:
content_designer, k23_imagecrop, nn_address and more...

