🎨 Improve database table view template col sorting https://ld246.com/article/1702871433047

This commit is contained in:
Daniel 2023-12-20 11:25:48 +08:00
parent 5ff968412a
commit 89d1b7c28a
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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 ""