Subfolder custom sort not working #69
-
Hi, First of all, thank you for this wonderful plugin! This might be a stupid question, but I am struggling to make custom sort work for one my subfolder with space in name. My folder structure looks like this: Vault:
I place the "sortspec" file in the same directory as root folder.
Somehow the sort works for files in "folder1" but not "test folder lol". I also tried "target-folder: root/test..." and "target-folder: root/test...lol" but none of them seems to solve the problem. Vault:
Please let me know if I am missing something. Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @Ricky-Kali , I created a simple test vault from scratch to reproduce your example. Then I copied & applied the exact sorting specification which you provided and it works as expected: ...which means to determine why it is not working on your side some debugging could help. Please modify your sorting spec to look exactly like below:
As you can see it is about transforming the plain-text matching into regexp-based specs for Please do the same on your side and:
From my perspective, as the author of the plugin, the key thing is to determine why the sorting doesn't work on your side? And if the reason lies in the plugin code, fix it. That's why I appreciate your feedback, especially after the issue will be fixed |
Beta Was this translation helpful? Give feedback.
Hi @Ricky-Kali ,
I created a simple test vault from scratch to reproduce your example.
It looks like below:
Then I copied & applied the exact sorting specification which you provided and it works as expected:
...which means to determine why it is not working on your side some debugging could help.
Please modify your sorting spec to look exactly like below:
As you can see it is about transforming the plain-text matching into regexp-based specs for
target-folder:
with debug ena…