[TYPO3-mvc] repository/findAll() and TCA/default_sortby

Sebastian Kurfürst sebastian at typo3.org
Thu Jan 28 11:01:27 CET 2010


Hi Franz,

> by working on this - wouldn't it be great to either define a class var
> or even a dedicated method in the abstractRepository that's returning a
> desired orderBy for all default queries? This var/method could then be
> easily adapted for each repository if you need special sorting options etc.
> Also the possibility to override the sorting and add a limit to the
> magic findByParameter actions per call might be nice to have. I did this
> in my recent project, so I could provide a patch for this (once I
> cleaned it up) if you're interested.
Sounds very helpful! Could you please at least write it down in the
Bugtracker, so it won't get lost (or if you want, add a preliminary
patch :-) )

This needs to go into FLOW3 as well, but I think it's a neat thing.

Greets,
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list