XMLWordPrintable

    Details

    • Effort:
      Not defined

      Description

      We currently apply a default sort order to entities that we return, which is to sort by the entity type (ASC) and then by their last modification date (DESC). 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 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 both values are missing, the default sort is used
      • 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