mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964
This commit is contained in:
parent
ddb20a368d
commit
04587ca695
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ func sortAttributeViewGroup(avID, blockID, previousGroupID, groupID string) (err
|
||||||
}
|
}
|
||||||
|
|
||||||
view.Groups = append(view.Groups[:index], view.Groups[index+1:]...)
|
view.Groups = append(view.Groups[:index], view.Groups[index+1:]...)
|
||||||
for i, g := range group.Groups {
|
for i, g := range view.Groups {
|
||||||
if g.ID == previousGroupID {
|
if g.ID == previousGroupID {
|
||||||
previousIndex = i + 1
|
previousIndex = i + 1
|
||||||
break
|
break
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue