Skip to content

Commit

Permalink
Merge pull request #2022 from dhis2/backport-tei-filter-v39
Browse files Browse the repository at this point in the history
feat: update the query to filter programs by program type
  • Loading branch information
Chisomchima authored Apr 29, 2024
2 parents 6a841ca + aa5ecb9 commit 555dc90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ResourcePicker/queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const programQuery = {
resource: 'programs',
params: {
fields: 'id,displayName',
filter: 'programType:eq:WITH_REGISTRATION',
paging: 'false',
},
},
Expand Down

0 comments on commit 555dc90

Please sign in to comment.