🎨 Improve database multi-select field sorting https://github.com/siyuan-note/siyuan/issues/11146
This commit is contained in:
parent
41e6c78bdb
commit
434054c9a8
1 changed files with 2 additions and 2 deletions
|
@ -145,7 +145,7 @@ func (value *Value) Compare(other *Value, attrView *AttributeView) int {
|
|||
return s
|
||||
}
|
||||
}
|
||||
return 1
|
||||
return 0
|
||||
} else {
|
||||
for i := 0; i < oLen; i++ {
|
||||
v := value.MSelect[i].Content
|
||||
|
@ -160,7 +160,7 @@ func (value *Value) Compare(other *Value, attrView *AttributeView) int {
|
|||
return s
|
||||
}
|
||||
}
|
||||
return -1
|
||||
return 0
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue