Replies: 1 comment 2 replies
-
Sure https://publish.obsidian.md/tasks/Queries/Limiting#Limit+number+of+tasks+in+each+group
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to collect my not done tasks in the vault, by sorting them by folder and file name.
In fact, I have a folder for any project I am working on and inside these folders I have many notes which are the log of my activity on the projects. Every time I make new progress I duplicate the last note, with all the done and not done tasks in it, and I write new tasks and make some of them as done.
I wrote the following script:
but this lists all the files in each folder. I want to have a list of the tasks only from the most recent file, which is the first in the sorting by filename in each folder.
How can I limit the number files listed in each folder? In other words, how can I limit the number of items per group?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions