diff --git a/db/workspaces.go b/db/workspaces.go index 208f1efd6..8e3f1ea92 100644 --- a/db/workspaces.go +++ b/db/workspaces.go @@ -20,7 +20,7 @@ func (db database) GetWorkspaces(r *http.Request) []Workspace { query.Offset(offset).Limit(limit).Order(sortBy + " " + direction + " ") } - query.Find(&ms) + query.Order("name ASC").Find(&ms) return ms }