Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.4
    • Fix Version/s: 1.0.5, 1.1-RC1
    • Component/s: Testing
    • Labels:
      None
    • Environment:
      Grails 1.0.x + Testing Plugin 0.4
    • Patch Submitted:
      Yes

      Description

      The testing plugin doesn't check the order-param on dynamic-finders when doing sorting.
      This is very useful and I think it could be added easily. Just add the following lines to MockUtils.addDynamicFinders:

       
      if (params['order']=='desc') {
           result = result.reverse()
       }
      

      I attached the patch-file.

      P.S.: This should be assigned to Peter and should be a subtask of GRAILS-787. Don't know how to handle this. Permissions ?

        Activity

        Hide
        Graeme Rocher added a comment -

        Bulk closing bunch of resolved issues

        Show
        Graeme Rocher added a comment - Bulk closing bunch of resolved issues

          People

          • Assignee:
            Peter Ledbrook
            Reporter:
            Mos
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development