Skip to content

Folder overview name sorting with Front Matter Title Plugin integration is done via filename instead of title name #309

@tpremoli

Description

@tpremoli

Describe the bug
When I have the Front Matter Title Plugin enabled on a Folder Overview, and I sort the files by Name, the folder overview will sort them from folder/filename, not the front matter title

Steps to Reproduce
Steps to reproduce the behavior:

  1. Install folder notes and front matter title plugins (https://github.com/snezhig/obsidian-front-matter-title)
  2. enable both plugins
  3. Enable "Enable front matter title plugin integration" in the general settings of folder notes
  4. create a folder "hello"
  5. convert folder into folder note
  6. insert folder overview
  7. edit overview -> enable front matter title plugin integration, and also set sorting to name ascending
  8. create a note in folder note, titled A, and a note titled Z
  9. use the front matter title plugin to set front matter title of A to "Z-originally-A" and Z to "A-originally-Z"
  10. Inspect folder overview

Expected behavior clear and concise description of what you expected to happen.

I expected the ordering to be:

  • A-originally-Z
  • Z-originally-A

But instead it's ordered

  • Z-originally-A
  • A-originally-Z

so it's keeping the filename order instead of the expected order. This example is fine, but in more confusing scenarios with more complicated names, the order gets really messed up

Screenshots

Image Image Image Image

Obsidian version

  • Installer version: 1.8.10
  • Current version: 1.11.7

Plugin information

  • Version: 1.8.18
  • front matter title version: 3.13.1

Additional context
n/a

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