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 # Global filters apply to ALL views in the base
filters: filters:
# Can be a single filter string # Can be a single filter string
# OR a recursive filter object with and/or/not # OR a recursive filter object with exactly ONE key: and, or, or not
and: [] and:
or: [] - 'status == "active"'
not: [] - not:
- 'file.hasTag("archived")'
# Define formula properties that can be used across all views # Define formula properties that can be used across all views
formulas: formulas:
@@ -52,8 +53,9 @@ views:
groupBy: # Optional: group results groupBy: # Optional: group results
property: property_name property: property_name
direction: ASC | DESC direction: ASC | DESC
filters: # View-specific filters filters: # View-specific filters follow the same rules
and: [] and:
- 'status == "active"'
order: # Properties to display in order order: # Properties to display in order
- file.name - file.name
- property_name - property_name