mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
feat: getWorkspaces filter site api (#1564)
This commit is contained in:
@ -151,7 +151,7 @@ func (api *api) workspaces(rw http.ResponseWriter, r *http.Request) {
|
||||
|
||||
// Empty strings mean no filter
|
||||
orgFilter := r.URL.Query().Get("organization_id")
|
||||
ownerFilter := r.URL.Query().Get("owner_id")
|
||||
ownerFilter := r.URL.Query().Get("owner")
|
||||
|
||||
filter := database.GetWorkspacesWithFilterParams{Deleted: false}
|
||||
if orgFilter != "" {
|
||||
|
Reference in New Issue
Block a user