[TYPO3-english] Re: Tx_Extbase_Domain_Repository_FrontendUserRepository->findAll() working in 4.5.30?
Calgacus map Brude
calgach at gmail.com
Mon Nov 25 22:56:10 CET 2013
the sql for a call to $this->userRepository->findByUsername('myname') looks like this:
SELECT fe_users.* FROM fe_users WHERE fe_users.username = ? AND fe_users.deleted=0 AND fe_users.disable=0 AND fe_users.starttime<=1385415540 AND (fe_users.endtime=0 OR fe_users.endtime>1385415540) AND fe_users.pid IN (109)
so it's losing the name passed in (myname) and uses pid of 109 instead of 19. why? My coupons are stored in 109, users are in 19, so how do I specify both and where? on a page, in constants.txt? what would that syntax look like? Why is it losing the name?
More information about the TYPO3-english