master
Evan Chen 2022-01-09 17:15:23 +08:00
parent b6f4beb210
commit 779eb57080
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ func (srv Service) Load() error {
key := c.Query("key")
if key == "" {
var attrs []Attribute
store.DB.Find(&attrs)
store.DB.Order("key").Find(&attrs)
server.OK(c, attrs)
} else {
var attr Attribute