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
|
# 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
|
||||||
|
|||||||
Reference in New Issue
Block a user