Closed AustinOyugi closed 10 months ago
When calling the
/orgs?q=name:{orgname}
being handled by listOrgs under OrganizationsResource
listOrgs
OrganizationsResource
The criteria builder uses
builder.like(root.get("name"), "%" + value.toLowerCase() + "%")
Which takes in a lowercase value without converting the root.get("name") to a builder.lower expression
root.get("name")
builder.lower
Requesting to be assigned the issue...
review the pull request: https://github.com/p2-inc/keycloak-orgs/pull/110
Fixed in #116
Thanks to @AustinOyugi for the original issue and PR.
When calling the
/orgs?q=name:{orgname}
being handled by
listOrgs
underOrganizationsResource
The criteria builder uses
builder.like(root.get("name"), "%" + value.toLowerCase() + "%")
Which takes in a lowercase value without converting the
root.get("name")
to abuilder.lower
expression