mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964
This commit is contained in:
parent
a6f5705681
commit
e575324483
1 changed files with 2 additions and 2 deletions
|
@ -1825,8 +1825,8 @@ func genAttrViewViewGroups(view *av.View, attrView *av.AttributeView) {
|
|||
startIdx := -1
|
||||
thisMonth := todayStart.Format("2006-01")
|
||||
for i, monthGroup := range relativeDateGroups {
|
||||
if monthGroup.GroupValue > thisMonth {
|
||||
startIdx = i
|
||||
if monthGroup.GroupValue < thisMonth {
|
||||
startIdx = i + 1
|
||||
}
|
||||
}
|
||||
if -1 == startIdx {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue