Skip to content

Commit

Permalink
Merge pull request #1831 from stakwork/feat/order_workspaces
Browse files Browse the repository at this point in the history
Added order ASC for admin  workspaces
  • Loading branch information
elraphty authored Jul 3, 2024
2 parents e3e3769 + 9c6892b commit 4f91a5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/workspaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 4f91a5b

Please sign in to comment.