-
-
Notifications
You must be signed in to change notification settings - Fork 2
Default sorting in a collection #291
Copy link
Copy link
Open
Labels
bladeView/blade updateView/blade updateelasticsearchUpdate requires understanding of elasticsearch.Update requires understanding of elasticsearch.phpPull requests that update Php codePull requests that update Php code
Metadata
Metadata
Assignees
Labels
bladeView/blade updateView/blade updateelasticsearchUpdate requires understanding of elasticsearch.Update requires understanding of elasticsearch.phpPull requests that update Php codePull requests that update Php code
Currently, there's an env variable which overrides the sorting.
In elastic mode, sorting is also available via a dropdown.
The default sorting is "updated_at desc".
There should be a tab in the settings page to override this.
Only the fields of the following type Numeric or Date should be available for this setting. The other field can be a drop-down to set the direction - Ascending or Descending.