Skip to content
Snippets Groups Projects
Commit 999e2300 authored by User expired's avatar User expired
Browse files

Merge remote-tracking branch 'upstream/OpenOLAT_13.2' into OpenOLAT_13.2.uibk

parents 952d99c7 6067b810
No related branches found
No related tags found
No related merge requests found
...@@ -187,6 +187,8 @@ public class UsermanagerUserSearchForm extends FormBasicController { ...@@ -187,6 +187,8 @@ public class UsermanagerUserSearchForm extends FormBasicController {
public SearchIdentityParams getSearchIdentityParams() { public SearchIdentityParams getSearchIdentityParams() {
// get user attributes from form // get user attributes from form
String idVal = getStringValue("id"); String idVal = getStringValue("id");
idVal = (idVal.equals("") ? null : idVal);
String loginVal = getStringValue("login"); String loginVal = getStringValue("login");
// when searching for deleted users, add wildcard to match with backup prefix // when searching for deleted users, add wildcard to match with backup prefix
List<Integer> statusList = getStatus(); List<Integer> statusList = getStatus();
......
...@@ -543,9 +543,6 @@ public class IdentityPowerSearchQueriesImpl implements IdentityPowerSearchQuerie ...@@ -543,9 +543,6 @@ public class IdentityPowerSearchQueriesImpl implements IdentityPowerSearchQuerie
dbq.setParameter("status", params.getStatus()); dbq.setParameter("status", params.getStatus());
} }
if(params.getIdAndExternalIds() != null) {
}
if(params.getIdAndExternalIds() != null) { if(params.getIdAndExternalIds() != null) {
if(StringHelper.isLong(params.getIdAndExternalIds())) { if(StringHelper.isLong(params.getIdAndExternalIds())) {
dbq.setParameter("idKey", Long.valueOf(params.getIdAndExternalIds())); dbq.setParameter("idKey", Long.valueOf(params.getIdAndExternalIds()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment