We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b9b610 commit f1fb044Copy full SHA for f1fb044
components/gitpod-db/src/typeorm/workspace-db-impl.ts
@@ -703,6 +703,11 @@ export abstract class AbstractTypeORMWorkspaceDBImpl extends AbstractWorkspaceDB
703
joinConditions.push("ws.ownerId = :ownerId");
704
joinConditionParams.ownerId = ownerId;
705
}
706
+
707
+ // TODO: I could extend this with more join conditions so it also looks for
708
+ // - workspaces name (e.g "pink-teddybear-1245") aka workspace-ID
709
+ // - instance-UUID
710
+ // TODO: Figure out how to describe the ws table so I know what to join on
711
if (!!searchTerm) {
712
joinConditions.push(`ws.contextUrl LIKE '%${searchTerm}%'`);
713
0 commit comments