[TYPO3-mvc] Problem calling a repository function
Franz Koch
typo3.RemoveForMessage at elements-net.de
Wed Feb 2 10:19:08 CET 2011
Hey,
>> But for the first problem: No joy.
>
> Any idea where I could look why no query is generated?
one thing that came to my mind is the storagePid - maybe that
configuration is missing when called from inside the viewHelper, but I
haven't checked that.
Could you please add the following line to your repositories
findByService function?
$query->getQuerySettings()->setRespectStoragePage(FALSE);
If that still doesn't work, could you try to debug $projects in your
viewHelper?
--
kind regards,
Franz Koch
More information about the TYPO3-project-typo3v4mvc
mailing list