mirror of
https://github.com/kepano/obsidian-skills.git
synced 2026-06-08 14:05:34 -07:00
docs(obsidian-bases): fix invalid filter schema example
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user