obsidian-db-folder icon indicating copy to clipboard operation
obsidian-db-folder copied to clipboard

[FR] New database source - current folder ignoring nested folders

Open meskill opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. I already have a lot of folders that usually contain nested folders with more details. I want to use db-folder to manage this kind of folders but without notes from nested folders

Describe the solution you'd like An additional option for database source inside db settings that will pick notes from current folder ignoring any nested folders

Describe alternatives you've considered Another way to do it is to specify dataview query that will filter out any nested notes. But I need to specify full query with path to current folder manually in order to make it work.

Additional context It's manageable with the next dataview query: FROM "folder_path" WHERE file.folder = this.file.folder

meskill avatar Aug 26 '22 06:08 meskill

Could be an interesting option. Will be added for sure =) thanks for your idea

RafaelGB avatar Aug 26 '22 08:08 RafaelGB

Commit 96b120db

RafaelGB avatar Nov 14 '22 14:11 RafaelGB

Just tested it, and it works as expected. Thank you for the feature.

meskill avatar Nov 16 '22 14:11 meskill