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

        Guilherme Blanco created issue -
        Alexander made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Benjamin Eberlei [ beberlei ] Alexander [ asm89 ]
        Fix Version/s 2.3 [ 10185 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13091 ] jira-feedback [ 15065 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15065 ] jira-feedback2 [ 16929 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 16929 ] jira-feedback3 [ 19182 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: