mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 15:33:09 +00:00
port PR1864
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user