obsidian-tracker
obsidian-tracker copied to clipboard
ignoreZeroValue not working
I'm not sure if I'm using it wrong or if this is a bug:
I have my queried task in the frontmatter as such below
---
exercise: 0
---
and my query as
searchType: frontmatter
searchTarget: exercise
ignoreZeroValue: true
folder: /Dailies/
startDate: 2022-08-01
summary:
template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)"
however it still counts the 0 value as part of the streak and won't count it as as break. It won't count it as empty unless I delete the frontmatter line entirely