Skip to content

Default sorting in a collection #291

@ketan404

Description

@ketan404

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bladeView/blade updateelasticsearchUpdate requires understanding of elasticsearch.phpPull requests that update Php code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions