Merge pull request 'Search roles with partial role names' (#281) from prathabanKavin/device-mgt-core:searchrolefix into master

Reviewed-on: community/device-mgt-core#281
searchusersfix1
commit d1799e54e7

@ -670,7 +670,7 @@ public class RoleManagementServiceImpl implements RoleManagementService {
if ((filter == null) || filter.isEmpty()) { if ((filter == null) || filter.isEmpty()) {
filter = "*"; filter = "*";
} else { } else {
filter += "*"; filter = "*" + filter + "*";
} }
if (log.isDebugEnabled()) { if (log.isDebugEnabled()) {
log.debug("Getting the list of user roles"); log.debug("Getting the list of user roles");

Loading…
Cancel
Save