Commit 4d7f9d54 authored by Matija Obreza's avatar Matija Obreza
Browse files

Merge branch '21-oauthclient-autocomplete' into 'master'

oauthclient autocomplete

Closes #21

See merge request genesys-pgr/application-blocks!21
parents 65013491 2c93b9d9
......@@ -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