mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
🎨 Improve database table view template col sorting https://ld246.com/article/1702871433047
This commit is contained in:
parent
5ff968412a
commit
89d1b7c28a
1 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@ func (value *Value) String() string {
|
|||
if nil == value.Text {
|
||||
return ""
|
||||
}
|
||||
return value.Text.Content
|
||||
return strings.TrimSpace(value.Text.Content)
|
||||
case KeyTypeNumber:
|
||||
if nil == value.Number {
|
||||
return ""
|
||||
|
|
@ -122,7 +122,7 @@ func (value *Value) String() string {
|
|||
if nil == value.Template {
|
||||
return ""
|
||||
}
|
||||
return value.Template.Content
|
||||
return strings.TrimSpace(value.Template.Content)
|
||||
case KeyTypeCreated:
|
||||
if nil == value.Created {
|
||||
return ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue