update
parent
b6f4beb210
commit
779eb57080
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue