LostPaul / obsidian-folder-notes

Create notes within folders that can be accessed without collapsing the folder, similar to the functionality offered in Notion.
https://lostpaul.github.io/obsidian-folder-notes/
GNU Affero General Public License v3.0
306 stars 14 forks source link

Duplicate entries per folder note #132

Open creativefibro opened 1 month ago

creativefibro commented 1 month ago

I have added the template path to a template that has only this on it, bar a title.

TABLE  
FROM -#MOC  
WHERE contains(file.folder, this.file.folder)  

When I create a folder note it adds two sets of queries per page. As shown in the image. CleanShot 2024-07-16 at 10  01 11@2x

LostPaul commented 1 month ago

I can't reproduce it. Do you maybe have something else enabled that also adds a template to it? Or can you reproduce it in a sandbox vault?

n1ck3 commented 1 month ago

I also have this issue. Kind of.

When using the "Settings > General > Key for creating folder note" (in my case "Alt + Click"), it works as expected.

However, when I set up a Hotkey for "Folder notes: Create markdown folder note for current folder of active note" (in my case "⌘ + Enter") and use the Hotkey, the template is duplicated in the created folder note.

oldjove commented 1 week ago

Like @n1ck3, I have this bug. Using the "Alt + Click" method works fine, but if I right-click on a folder and select "create markdown folder note", I get the contents of the templates file doubled.