Skip to content

Commit

Permalink
p2-inc#287 Change member resources
Browse files Browse the repository at this point in the history
  • Loading branch information
rtufisi committed Jan 4, 2025
1 parent 8386878 commit a07d4a3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
name = "searchOrganizationMembers",
query = "SELECT m FROM OrganizationMemberEntity m inner join UserEntity ue ON ue.id = m.userId" +
" WHERE m.organization = :organization" +
" AND (lower(ue.username) like concat('%',:search,'%') OR ue.firstName like concat('%',:search,'%')" +
" OR ue.lastName like concat('%',:search,'%') OR ue.email like concat('%',:search,'%'))" +
" AND (lower(ue.username) like lower(concat('%',:search,'%')) OR lower(ue.firstName) like lower(concat('%',:search,'%'))" +
" OR lower(ue.lastName) like lower(concat('%',:search,'%')) OR lower(ue.email) like lower(concat('%',:search,'%')))" +
" ORDER BY m.createdAt"),
@NamedQuery(
name = "getOrganizationMemberByUserId",
Expand Down

0 comments on commit a07d4a3

Please sign in to comment.