sundevista / local-quotes

📜 Collect your quotes from all over the vault and embed them in different locations with refresh delays
https://sundevista.github.io/local-quotes/
MIT License
40 stars 1 forks source link

One Time Quotes are only being pulled from one note #22

Closed aarotaylor closed 1 year ago

aarotaylor commented 1 year ago

Describe the bug One Time Quotes being used in a daily template are only being pulled from one file despite multiple files having the "quote" tag within them

To Reproduce Steps to reproduce the behavior: I have a single template in a dedicated folder, with a one time quote template and "search *" being the only thing in the localquote-once creation block

search *

Expected behavior Quotes should be pulled from all files that have the quotes tag and are formatted correctly

Screenshots Data.json, only Chapterhouse Dune.md has its quotes pulled data.json

Chapterhouse Dune.md File 0, only quote file included

The two subsequent pics are from two different files, both have the quotes tag File1 example, not included File2 example, not included


Template view

blankquote

blankquote1

blankquote2

Desktop (please complete the following information):

Additional context I've tried reinstalling the plugin, clearing and re-clearing cache, scanning the vault, even deleting the data.json file. Only one of the files that contains the quotes is ever put into rotation

sundevista commented 1 year ago

Thank you for your feedback! I'm going to completely refactor a plugin soon, and these changes should fix this bug. I can't set an approximate update date, because of a lot of work. But I think it'll be done until this month.

sundevista commented 1 year ago

@aarotaylor A lot of time passed, and I returned to maintaining plugin. May you send me a copy of problematic files?

aarotaylor commented 1 year ago

@decatetsu strangely the issue seems to have fixed itself. Since my initial post I collected all the quotes in one file with the "#quotes" tag at the bottom. When I added the quotes tag to another file then rescanned the new quotes were added to the vault just fine.

Not sure what I was doing wrong in the initial post, but the issue appears resolved.