Commit 2c93b9d9 authored by Maxym Borodenko's avatar Maxym Borodenko
Browse files

oauthclient autocomplete

parent 65013491
......@@ -650,7 +650,7 @@ public class OAuthServiceImpl implements OAuthClientDetailsService, OAuthTokenSt
return Collections.emptyList();
LOG.debug("Autocomplete for={}", title);
Predicate predicate = QOAuthClient.oAuthClient.title.startsWith(title);
Predicate predicate = QOAuthClient.oAuthClient.title.startsWithIgnoreCase(title);
return oauthClientRepository.findAll(predicate, new PageRequest(0, 10, new Sort("title"))).getContent();
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment