[TYPO3-mvc] Discussion: findAll() and findByUid() should not respect storage pid

Xavier Perseguers typo3 at perseguers.ch
Mon Sep 21 19:12:19 CEST 2009


Hi,

>> 1. We want to findAll() or findByFoo(): If there is a storage page 
>> [...] this has to be respected.
>> If not: default must be the root page of the site
> 
> Why?
> I would expect that findAll really finds all records globally unless I 
> configure it differently. Sometimes you'd probably even want to select 
> records from another page of the same site (e.g. global fe_users in a 
> multi language setup)

I've open a feature request on Forge [1] with a real use-case. For those of you who need a temporary solution for this very case of returning all records globally regardless of the PID (sole solution 
I could quickly came up without changing a line to Extbase), I included an explanation on how to achieve this.

Regards

[1] http://forge.typo3.org/issues/show/4724

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away


More information about the TYPO3-project-typo3v4mvc mailing list