Skip to content

Commit f1fb044

Browse files
committed
WIP: Added inline TODO
1 parent 7b9b610 commit f1fb044

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/gitpod-db/src/typeorm/workspace-db-impl.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,11 @@ export abstract class AbstractTypeORMWorkspaceDBImpl extends AbstractWorkspaceDB
703703
joinConditions.push("ws.ownerId = :ownerId");
704704
joinConditionParams.ownerId = ownerId;
705705
}
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
706711
if (!!searchTerm) {
707712
joinConditions.push(`ws.contextUrl LIKE '%${searchTerm}%'`);
708713
}

0 commit comments

Comments
 (0)