Skip to content

Issue: Content view sorting for Modified Date not working as expected #972

@webneers

Description

@webneers

Describe the bug
When sorting for modified date it seems like it uses the modified date of the markdown files instead of the defined modified date inside frontmatter.

My date settings are:

{
          "title": "Last updated date",
          "name": "updatedDate",
          "type": "datetime",
          "default": "{{now}}",
          "dateFormat": "dd.MM.yyyy HH:mm",
          "isModifiedDate": true
},

To reproduce, please use the above setting and change the modified date of some files randomly to different dates.
After that try to sort them by modified date in content view. You will see that they always sort by the actual date time of the order you have saved the markdown files, not by the defined frontmatter updatedDate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions