Merge pull request #68 from txhno/fix/58-bases-filter-schema

docs(obsidian-bases): fix invalid filter schema example
This commit is contained in:
Steph Ango
2026-06-06 11:14:46 -07:00
committed by GitHub
+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