Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1426

Github-PR-115 by mpdeimos: findByXXX does not accept orderBy/limit/offset

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3
    • Component/s: None
    • Security Level: All
    • 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

        Activity

          People

          • Assignee:
            Alexander
            Reporter:
            Guilherme Blanco
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: