Skip to content

Commit

Permalink
#409 | include subject name for the search all field
Browse files Browse the repository at this point in the history
  • Loading branch information
vindeolal committed Jan 6, 2021
1 parent 72831dd commit 0a4c859
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class IndividualSearchCriteria {

if (!_.isEmpty(this.obsKeyword)) {
let trimmedKeyword = this.obsKeyword.trim();
criteria.push(`(observations.valueJSON contains[c] "${trimmedKeyword}" OR enrolments.observations.valueJSON contains[c] "${trimmedKeyword}")`);
criteria.push(`(observations.valueJSON contains[c] "${trimmedKeyword}" OR enrolments.observations.valueJSON contains[c] "${trimmedKeyword}" OR name contains[c] "${trimmedKeyword}")`);
}

if (this.lowestAddressLevels.length !== 0) {
Expand Down

0 comments on commit 0a4c859

Please sign in to comment.