[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


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

Comment by Alexander [ 11/Mar/12 ]

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

Generated at Tue Dec 01 02:37:56 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.