[TYPO3-mvc] Lost again or my problem with mapped tx_dam

Sebastian Fischer typo3 at fischer.im
Thu Feb 4 18:47:00 CET 2010


On 04.02.2010 16:11, Franz Koch wrote:
> Hi,
>
>> Ok after playing around with that i found out that the category get
>> loaded. In my view i can output the category/ies title.
>
> That's because extbase is already injecting the related categories for you.
>
>  > So my only
>> problem is, that i can't the constrains on category in my query.
>>
>> So tx_dam and tx_dam_cat is already connected but i can't filter with it.
>
> well, your query doesn't know about the MM-table. AFAIK
> $query->equals('property',$value) is only checking the value of the
> current DB table, not automatically resolving any JOINs or relations.
> You have to do this by hand AFAIK.
>

Hi Franz,

well i could live with doing it my own, but how?

Do i realy have to use $query->statement(''); ?

Bye
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list