[DDC-1426] Github-PR-115 by mpdeimos: findByXXX does not accept orderBy/limit/offset Created: 17/Oct/11  Updated: 11/Mar/12  Resolved: 11/Mar/12

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: None
Affects Version/s: None
Fix Version/s: 2.3
Security Level: All

Type: Improvement Priority: Major
Reporter: Guilherme Blanco Assignee: Alexander
Resolution: Fixed Votes: 0
Labels: None


 Description   

Our modification to pass findByXXX functions orderBy/limit/offset params for entity repositories like one is used from normal findBy function.

We're using an if cascade in favor of the call_user_function_array since the latter is considered as slow.

PS: If i need to target this pull request to your master, I'll resubmit - it's just that we're building against a stable codebase.

Reference link: https://github.com/doctrine/doctrine2/pull/115



 Comments   
Comment by Alexander [ 11/Mar/12 ]

Added in master. See here: https://github.com/doctrine/doctrine2/pull/115.

Generated at Wed Nov 26 07:56:21 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.