🎨 Database template columns support sort

This commit is contained in:
Daniel 2023-10-13 08:46:29 +08:00
parent 3da9f0f1e1
commit df9b55c71b
No known key found for this signature in database
GPG Key ID: 86211BA83DF03017

View File

@ -162,6 +162,9 @@ func (value *Value) Compare(other *Value) int {
}
return strings.Compare(v1, v2)
}
if nil != value.Template && nil != other.Template {
return strings.Compare(value.Template.Content, other.Template.Content)
}
return 0
}