[TYPO3-mvc] Discussion: findAll() and findByUid() should not respect storage pid
Sebastian Kurfürst
sebastian at typo3.org
Tue Sep 22 11:59:18 CEST 2009
Hi Xavier,
I just answered your bug report at
http://forge.typo3.org/issues/show/4724 .
Essentially I'd just do the following inside your repository:
public function findAllWithoutPidRestriction() {
$query = $this->createQuery();
$query->getQuerySettings()->setRespectStoragePage(FALSE);
return $query->execute();
}
Somehow I was too blind for the obvious solution yesterday :-)
Greets,
Sebastian
More information about the TYPO3-project-typo3v4mvc
mailing list