mirror of
https://github.com/documize/community.git
synced 2025-07-18 20:59:43 +02:00
Sort labels by name
DB layer sorts, UI just receives and displays as-is.
This commit is contained in:
parent
9c36241b58
commit
d6432afdad
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ func (s Store) Get(ctx domain.RequestContext) (l []label.Label, err error) {
|
|||
c_name AS name, c_color AS color,
|
||||
c_created AS created, c_revised AS revised
|
||||
FROM dmz_space_label
|
||||
WHERE c_orgid=?`),
|
||||
WHERE c_orgid=? ORDER BY c_name`),
|
||||
ctx.OrgID)
|
||||
|
||||
if err == sql.ErrNoRows {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue