Uploaded image for project: 'mod-orders-storage'
  1. mod-orders-storage
  2. MODORDSTOR-158

Retreiving order collection in descending order fails

    XMLWordPrintable

    Details

    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      ACQ Sprint 91
    • Story Points:
      1
    • Development Team:
      Thunderjet
    • Release:
      Q2 2020

      Description

      Example request:

      GET /orders-storage/orders?lang=en&limit=30&offset=0&query=(cql.allRecords=1 not acqUnitIds <> []) AND (workflowStatus==Open AND orderFormat==Electronic Resource) sortBy dateOrdered/sort.descending
      
      SELECT DISTINCT ON expressions must match initial ORDER BY expressions
      
      Expected result

      Collection filtered and sorted by specified parameters is returned

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Andrei_Makaranka Andrei Makaranka
                Reporter:
                siarhei_hrabko Siarhei Hrabko
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases