Skip to content

Subfolder custom sort not working #69

Answered by SebastianMC
Ricky-Kali asked this question in Q&A
Discussion options

You must be logged in to vote

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:

---
sorting-spec: |
  target-folder: regexp: debug: ^root$
  fold...
  test...
  target-folder: regexp: debug: root/folder1
  file4
  file3
  target-folder: regexp: debug: root/test folder lol
  file2
  file1
---

As you can see it is about transforming the plain-text matching into regexp-based specs for target-folder: with debug ena…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Ricky-Kali
Comment options

@SebastianMC
Comment options

@Ricky-Kali
Comment options

Answer selected by Ricky-Kali
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants