[TYPO3-english] Filter child object in an extbase query
Jan Bednarik
info at bednarik.org
Wed Feb 4 22:11:51 CET 2015
Hi,
I do this in iteration. Sth like this:
<f:for each="{images}" as="image" iteration="i">
<f:if condtion="{i.isFirst}">
<f:image ...>
</f:if>
</f:for>
Jan
Dne 4. 2. 2015 v 11:22 Eric Chavaillaz napsal(a):
> Hi list,
>
> I have a repository of product. Each product can have no, one or some
> images in an MM relation (Images are sets with FAL).
> Is it possible to limit the number of images attached to my product in a
> custom query?
>
> I want for example, all my products but only with the first image (if
> exist) attached.
>
> Thanks
More information about the TYPO3-english
mailing list