Skip to content

Commit 8d837fb

Browse files
committed
Filter by version in the db
1 parent 85e29c1 commit 8d837fb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

apps/webapp/app/presenters/v3/VersionListPresenter.server.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ export class VersionListPresenter extends BasePresenter {
2828
},
2929
where: {
3030
runtimeEnvironmentId: environment.id,
31+
version: query
32+
? {
33+
contains: query,
34+
}
35+
: undefined,
3136
},
3237
orderBy: {
3338
createdAt: "desc",

0 commit comments

Comments
 (0)