mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update tags order (#1068)
This commit is contained in:
@@ -111,7 +111,9 @@ func findTagList(ctx context.Context, tx *sql.Tx, find *api.TagFind) ([]*tagRaw,
|
|||||||
name,
|
name,
|
||||||
creator_id
|
creator_id
|
||||||
FROM tag
|
FROM tag
|
||||||
WHERE ` + strings.Join(where, " AND ")
|
WHERE ` + strings.Join(where, " AND ") + `
|
||||||
|
ORDER BY name ASC
|
||||||
|
`
|
||||||
rows, err := tx.QueryContext(ctx, query, args...)
|
rows, err := tx.QueryContext(ctx, query, args...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, FormatError(err)
|
return nil, FormatError(err)
|
||||||
|
Reference in New Issue
Block a user