Skip to content

sortableFields should have default sorting options #3715

Open
@fbnlsr

Description

@fbnlsr

Is your feature request related to a problem? Please describe.

Whenever I log into Netlify CMS, I have to always do the same operation so that the entries of a folder collection is displayed the way I'd like.

Describe the solution you'd like

I'd like if we could have an option in the sortableFields config so that we could specify a default order and display type. So for instance we could specify something like:

sortableFields:
  display: "grid"
  key: "commit_date"
  type: "desc"
  fields:
    - "commit_date"
    - "author"
    - "title"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions