Dashboard OC-List
3.0.0
3.0.0
  • About
  • Changelog
  • User
    • How to
      • Remove items from list
      • Unlink list from package
      • Change linked list in package
  • Admin
    • Requirements
    • Config
      • Change order of search result
      • Standard config
    • Migration
      • 2.x.x => 3.0.0
Powered by GitBook
On this page

Was this helpful?

  1. Admin
  2. Config

Change order of search result

In list/package-options you have the ability to change which key sorting is made on, as well as if the result should be displayed in ascending/descending order.

{
    "search": {
        "sortProperty": "updated",
        "sortAscending": false,
        [...]
    }
}

sortProperty

OC property to sort on

string

sortAscending

Whether sort result should be ascending or descending

boolean

PreviousConfigNextStandard config

Last updated 3 years ago

Was this helpful?