Uploaded image for project: 'RAML Module Builder'
  1. RAML Module Builder
  2. RMB-382

Sort by array-of-strings and array-of-objects fields

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • P3
    • Resolution: Unresolved
    • None
    • None
    • CP: Roadmap backlog
    • Core: Platform

    Description

      Craig McNally asked for this code field sorting on #development https://folio-project.slack.com/archives/C210RP0T1/p1558631968046700 :

      {
          "results": [{
                  "id": "11111",
                  "things": [{
                          "code": "HIST",
                          "name": "History"
                      },
                      {
                          "code": "SCI",
                          "name": "Science and technology"
                      }
                  ]
              },
              {
                  "id": "22222",
                  "things": [{
                      "code": "GEO",
                      "name": "Geography"
                  }]
              },
              {
                  "id": "33333",
                  "things": [{
                      "code": "MATH",
                      "name": "Mathematics"
                  }]
              },
              {
                  "id": "44444",
                  "things": [{
                      "code": "HIST",
                      "name": "History"
                  }]
              }
      
          ]
      }
      

      Expected sort order result:

      "222222" (GEO),
      "44444" (HIST),
      "111111" (HIST, SCI),
      "33333" (MATH)
      

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                julianladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:

                  TestRail: Runs

                    TestRail: Cases