Skip to content

Commit

Permalink
#1382 - fix: use group subject uuid correctly in custom filter
Browse files Browse the repository at this point in the history
  • Loading branch information
petmongrels committed Aug 30, 2024
1 parent faa90ae commit ba71aa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/openchs-android/src/service/CustomFilterService.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ class CustomFilterService extends BaseService {
}
}

groupSubjectQuery(selectedOptions) {
return _.map(selectedOptions, ({groupSubjectUUID}) => ` (voided = false AND groupSubject.uuid = '${groupSubjectUUID}') `).join(" OR ");
groupSubjectQuery(selectedGroupSubjects) {
return _.map(selectedGroupSubjects, (selectedGroupSubject) => ` (voided = false AND groupSubject.uuid = '${selectedGroupSubject.uuid}') `).join(" OR ");
}

getConceptFilterQueryFunction(concept, selectedOptions, widget) {
Expand Down

0 comments on commit ba71aa5

Please sign in to comment.