-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boolean "true' doesn't work the way "1" did before Properties happened #247
Comments
There is an open PR that solves this #177. Additionally, my fork has almost every open PR merged on it and I did a release that you can manually install: https://github.com/lazyguru/obsidian-tracker/releases/tag/v1.11.0 |
Still no luck. I copied the files in the #177
Each of the targets is either "true" or blank, per the way checkboxes function now. |
I tried to install v1.11.0 and I continue having the same problem with parsing booleans from the frontmatter. |
@sh4d0wl3ss did you check in the plugin list to see if you could turn it back on? It might have disabled as mine is a slightly different package name due to coming from my fork) |
@dml0sc can you provide more information? (An example of what the frontmatter looks like and how your data query is?). I've been using the new UI for a while now and it works great (I even have multiple trackers in the same query) |
Hi Yes. Turned it on and it works as before. The code I pasted above will work if the target is 1 but not if it is true. |
Here is a test vault using your settings and the v1.11.0 release from my fork (and the dataview plugin) |
Thanks. I see that though I'd put in your new files for 1.11 without having disabled and then reenabled. Though it now works the version reported in the Community plugin browser is still 1.10.9. That just confused me that it didn't take the first time. |
That solves it for me. |
HI Folks, I have a calendar habit tracker that worked swimmingly before the change to properties. It seems that the property checkbox results in a "true" in markdown where before it was a "1". Sure enough if I manually change a note with a checked property in the front matter that had been "true" to "1" that note's checkbox property appears in my monthly calendar. How can I rewrite the code below to work with "true" instead of "1" for properties that are checkboxes?
searchType: frontmatter
searchTarget: hands=true, eyes=true, walk=true, workout=true
datasetName: Hands, Eyes, Walk, Workout
folder: 2023
month:
mode: annotation
startWeekOn: 'Mon'
color: green
headerMonthColor: orange
dimNotInMonth: false
annotation: 👐,👀,🚶♂,💪
showAnnotationOfAllTargets: true
Thanks
The text was updated successfully, but these errors were encountered: