mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
♻️ Refactor av data structure
This commit is contained in:
parent
769370b55f
commit
6709cada97
1 changed files with 9 additions and 0 deletions
|
|
@ -208,6 +208,15 @@ func setAttributeViewFilters(operation *Operation) (err error) {
|
|||
}
|
||||
}
|
||||
|
||||
for _, filter := range view.Table.Filters {
|
||||
key, err := attrView.GetKey(filter.Column)
|
||||
if nil != err {
|
||||
return
|
||||
}
|
||||
|
||||
filter.Value.Type = key.Type
|
||||
}
|
||||
|
||||
err = av.SaveAttributeView(attrView)
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue