Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 060560d

Browse files
committed
feat: forward shared filter from req to db query
1 parent 8b0972f commit 060560d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/searchquery/search.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ func Workspaces(ctx context.Context, db database.Store, query string, page coder
225225
filter.HasAITask = parser.NullableBoolean(values, sql.NullBool{}, "has-ai-task")
226226
filter.HasExternalAgent = parser.NullableBoolean(values, sql.NullBool{}, "has_external_agent")
227227
filter.OrganizationID = parseOrganization(ctx, db, parser, values, "organization")
228+
filter.Shared = parser.NullableBoolean(values, sql.NullBool{}, "shared")
228229

229230
type paramMatch struct {
230231
name string

0 commit comments

Comments
 (0)