docs(obsidian-bases): fix invalid filter schema example

This commit is contained in:
txhno
2026-04-07 14:04:35 +05:30
parent fa1e131a01
commit 9b736ba8da
+8 -6
View File
@@ -22,10 +22,11 @@ Base files use the `.base` extension and contain valid YAML.
# Global filters apply to ALL views in the base
filters:
# Can be a single filter string
# OR a recursive filter object with and/or/not
and: []
or: []
not: []
# OR a recursive filter object with exactly ONE key: and, or, or not
and:
- 'status == "active"'
- not:
- 'file.hasTag("archived")'
# Define formula properties that can be used across all views
formulas:
@@ -52,8 +53,9 @@ views:
groupBy: # Optional: group results
property: property_name
direction: ASC | DESC
filters: # View-specific filters
and: []
filters: # View-specific filters follow the same rules
and:
- 'status == "active"'
order: # Properties to display in order
- file.name
- property_name