diff --git a/store/tag.go b/store/tag.go index 2f8fd09d..ff40f61e 100644 --- a/store/tag.go +++ b/store/tag.go @@ -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)