Sorting full file path when using alias for links
Akasiek opened this issue · 0 comments
Akasiek commented
What happened?
When sorting fields that contain links to file and the link is an alias (two files in vault have the same name so alias needs to be used).
For example here I have two files called "Audioslave" - an album and an artist.
Here's the album's page and in its properties the link to an artist:
The link contains the full path to the file and the file name after the |
symbol: [[01 - Areas/Music Collection/Artists/Audioslave|Audioslave]]
When sorting Album project by the Artist name, artists with self-title albums are at the beginning.
It happens probably because of the file path in the link.
What did you expect to happen?
I expect that links with full path would sort with only the file name, not the whole path.
How can we reproduce it (as minimally and precisely as possible)?
- Create two files with the same name
- Add one of the files to property of project element
- Sort project by this property
Anything else we need to know?
No response
Plugin version
1.17.3
Obsidian version
1.6.3
OS
Windows, Linux