Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-3297 Allow sorting of Entity List items
  3. OPT-4055

Return collection entities according to sort parameters

    XMLWordPrintable

    Details

    • Effort:
      Not defined

      Description

      We currently apply a default sort order to entities that we return in the context of collections. We want to support sorting according to provided sorting parameters.

      The response will stay the same and we will use the following new API query params:

      sortBy=someFieldName
      sortOrder=asc // or desc

      Supported fields:

      name
      entityType
      lastModifier
      lastModified

       ATs:

      • Entities within a collection are returned sorted by the field and in the order of the provided parameter values
      • If entity order cannot be resolved by the provided field, the default sort is used as a secondary criteria
      • If the sorting field value is not supported, we return an error,
      • If an order is supplied without a field, we return an error
      • If no order is supplied, we use ascending order
      • API documentation is updated

        mgm-controller-panel

        This is the controller panel for Smart Panels app

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              joshua.windels Joshua Windels
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Salesforce