mirror of
https://github.com/usememos/memos.git
synced 2024-12-26 23:22:47 +08:00
chore: update tags order (#1068)
This commit is contained in:
parent
aad97c4c54
commit
e0f4cb06b3
1 changed files with 3 additions and 1 deletions
|
@ -111,7 +111,9 @@ func findTagList(ctx context.Context, tx *sql.Tx, find *api.TagFind) ([]*tagRaw,
|
|||
name,
|
||||
creator_id
|
||||
FROM tag
|
||||
WHERE ` + strings.Join(where, " AND ")
|
||||
WHERE ` + strings.Join(where, " AND ") + `
|
||||
ORDER BY name ASC
|
||||
`
|
||||
rows, err := tx.QueryContext(ctx, query, args...)
|
||||
if err != nil {
|
||||
return nil, FormatError(err)
|
||||
|
|
Loading…
Reference in a new issue