From fe3f3dc1dbfc60c21a0a961685c53b30bcf09a9a Mon Sep 17 00:00:00 2001 From: chisom chima Date: Wed, 24 Apr 2024 11:54:19 +0100 Subject: [PATCH] feat: update the query to filter programs by program type --- src/components/ResourcePicker/queries.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/ResourcePicker/queries.js b/src/components/ResourcePicker/queries.js index 690074783..6c4765a1c 100644 --- a/src/components/ResourcePicker/queries.js +++ b/src/components/ResourcePicker/queries.js @@ -13,6 +13,7 @@ const programQuery = { resource: 'programs', params: { fields: 'id,displayName', + filter: 'programType:eq:WITH_REGISTRATION', paging: 'false', }, },