port PR1864

This commit is contained in:
Terry Brady
2018-08-06 13:13:23 -07:00
parent 3eb16056c6
commit 79709ef76a

View File

@@ -376,7 +376,7 @@ public class GroupServiceImpl extends DSpaceObjectServiceImpl<Group> implements
public int searchResultCount(Context context, String groupIdentifier) throws SQLException { public int searchResultCount(Context context, String groupIdentifier) throws SQLException {
int result = 0; int result = 0;
UUID uuid = UUIDUtils.fromString(groupIdentifier); UUID uuid = UUIDUtils.fromString(groupIdentifier);
if (uuid == null && StringUtils.isNotBlank(groupIdentifier)) { if (uuid == null) {
//Search by group name //Search by group name
result = groupDAO.countByNameLike(context, groupIdentifier); result = groupDAO.countByNameLike(context, groupIdentifier);
} else { } else {