mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🐛 Database filtering does not work after change the field type https://github.com/siyuan-note/siyuan/issues/10519
This commit is contained in:
parent
b6c2c829b1
commit
254e240d82
1 changed files with 0 additions and 12 deletions
|
|
@ -1684,18 +1684,6 @@ func setAttributeViewFilters(operation *Operation) (err error) {
|
|||
}
|
||||
}
|
||||
|
||||
for _, filter := range view.Table.Filters {
|
||||
var key *av.Key
|
||||
key, err = attrView.GetKey(filter.Column)
|
||||
if nil != err {
|
||||
return
|
||||
}
|
||||
|
||||
if nil != filter.Value {
|
||||
filter.Value.Type = key.Type
|
||||
}
|
||||
}
|
||||
|
||||
err = av.SaveAttributeView(attrView)
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue