Skip to content

Commit

Permalink
Merge pull request #490 from MeasureAuthoringTool/MAT-6267
Browse files Browse the repository at this point in the history
MAT-6267: Get MeasureList Ignores Case
  • Loading branch information
ethankaplan authored Nov 1, 2023
2 parents d3a1428 + 6abcbdf commit 09ee05c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ public Page<Measure> findMyActiveMeasures(String userId, Pageable pageable, Stri
Criteria measureSetCriteria =
new Criteria()
.orOperator(
Criteria.where("measureSet.owner").is(userId),
Criteria.where("measureSet.owner").regex("^\\Q" + userId + "\\E$", "i"),
Criteria.where("measureSet.acls.userId")
.is(userId)
.regex("^\\Q" + userId + "\\E$", "i")
.and("measureSet.acls.roles")
.in(RoleEnum.SHARED_WITH));

Expand Down

0 comments on commit 09ee05c

Please sign in to comment.