mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-24 17:26:10 +01:00
🎨 Add to Database no longer autofills filter values https://github.com/siyuan-note/siyuan/issues/10587
This commit is contained in:
parent
6ff917f48d
commit
63914488f0
3 changed files with 21 additions and 16 deletions
|
|
@ -122,8 +122,12 @@ func addAttributeViewValues(c *gin.Context) {
|
|||
previousID = arg["previousID"].(string)
|
||||
}
|
||||
isDetached := arg["isDetached"].(bool)
|
||||
ignoreFillFilter := true
|
||||
if nil != arg["ignoreFillFilter"] {
|
||||
ignoreFillFilter = arg["ignoreFillFilter"].(bool)
|
||||
}
|
||||
|
||||
err := model.AddAttributeViewBlock(nil, srcIDs, avID, blockID, previousID, isDetached)
|
||||
err := model.AddAttributeViewBlock(nil, srcIDs, avID, blockID, previousID, isDetached, ignoreFillFilter)
|
||||
if nil != err {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue