Skip to content

Commit

Permalink
🎨 Database template columns support sort
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Oct 13, 2023
1 parent 3da9f0f commit df9b55c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kernel/av/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit df9b55c

Please sign in to comment.