chore: update tags order (#1068)

pull/1069/head
boojack 2 years ago committed by GitHub
parent aad97c4c54
commit e0f4cb06b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save