mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: alphabetize template list (#3363)
This commit is contained in:
@@ -34,7 +34,7 @@ WHERE
|
||||
id = ANY(@ids)
|
||||
ELSE true
|
||||
END
|
||||
ORDER BY (created_at, id) ASC
|
||||
ORDER BY (name, id) ASC
|
||||
;
|
||||
|
||||
-- name: GetTemplateByOrganizationAndName :one
|
||||
@@ -51,7 +51,7 @@ LIMIT
|
||||
|
||||
-- name: GetTemplates :many
|
||||
SELECT * FROM templates
|
||||
ORDER BY (created_at, id) ASC
|
||||
ORDER BY (name, id) ASC
|
||||
;
|
||||
|
||||
-- name: InsertTemplate :one
|
||||
|
||||
Reference in New Issue
Block a user