mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
🎨 Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964
This commit is contained in:
parent
1b07033cd3
commit
b138ff9d7f
1 changed files with 2 additions and 6 deletions
|
|
@ -3268,13 +3268,9 @@ func removeAttributeViewBlock(srcIDs []string, avID string, tx *Transaction) (er
|
|||
for _, blockID := range srcIDs {
|
||||
view.ItemIDs = gulu.Str.RemoveElem(view.ItemIDs, blockID)
|
||||
}
|
||||
}
|
||||
|
||||
for _, groupView := range view.Groups {
|
||||
for _, blockID := range srcIDs {
|
||||
groupView.GroupItemIDs = gulu.Str.RemoveElem(groupView.GroupItemIDs, blockID)
|
||||
}
|
||||
}
|
||||
}
|
||||
regenAttrViewViewGroups(attrView, "force")
|
||||
|
||||
relatedAvIDs := av.GetSrcAvIDs(avID)
|
||||
for _, relatedAvID := range relatedAvIDs {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue