normalize Obsidian base property syntax
Linter-driven: base views referenced property names with a redundant note. prefix in the order and sort arrays. The properties map still declares note.<key>, but inside order/sort the bare key is idiomatic and renders correctly. No functional change; both bases continue to filter and display as intended. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
filters:
|
||||
and:
|
||||
- note.type == "council-member"
|
||||
|
||||
properties:
|
||||
note.name:
|
||||
displayName: Name
|
||||
@@ -13,18 +12,17 @@ properties:
|
||||
displayName: Votes?
|
||||
note.model:
|
||||
displayName: Model
|
||||
|
||||
views:
|
||||
- type: table
|
||||
name: The Council
|
||||
order:
|
||||
- note.name
|
||||
- note.prior_job
|
||||
- note.lens
|
||||
- note.voting
|
||||
- note.model
|
||||
- name
|
||||
- prior_job
|
||||
- lens
|
||||
- voting
|
||||
- model
|
||||
sort:
|
||||
- property: note.voting
|
||||
- property: voting
|
||||
direction: DESC
|
||||
- property: note.name
|
||||
- property: name
|
||||
direction: ASC
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
filters:
|
||||
and:
|
||||
- note.type == "council-session"
|
||||
|
||||
properties:
|
||||
note.date:
|
||||
displayName: Date
|
||||
@@ -23,17 +22,16 @@ properties:
|
||||
displayName: Phase-3 clarif?
|
||||
note.tags:
|
||||
displayName: Tags
|
||||
|
||||
views:
|
||||
- type: table
|
||||
name: All sessions
|
||||
order:
|
||||
- file.name
|
||||
- note.date
|
||||
- note.problem
|
||||
- note.winner
|
||||
- note.tied
|
||||
- note.tags
|
||||
- date
|
||||
- problem
|
||||
- winner
|
||||
- tied
|
||||
- tags
|
||||
sort:
|
||||
- property: note.date
|
||||
- property: date
|
||||
direction: DESC
|
||||
|
||||
Reference in New Issue
Block a user