Skip to content

Commit

Permalink
Fixed gender filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Zarzeczny committed Jun 10, 2021
1 parent 7e46279 commit d4a55b1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion data-serving/data-service/src/controllers/case.ts
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,10 @@ export class CasesController {
},
};
} else {
if (f.path === 'demographics.gender') {
if (
f.path === 'demographics.gender' &&
f.values[0] === 'noGender'
) {
return {
$match: {
[f.path]: {
Expand Down

0 comments on commit d4a55b1

Please sign in to comment.