obsidian-tracker icon indicating copy to clipboard operation
obsidian-tracker copied to clipboard

ignoreZeroValue not working

Open ahhlau opened this issue 1 year ago • 0 comments

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

ahhlau avatar Aug 11 '22 05:08 ahhlau