minor fix on grsf-group membership check
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/widgets/grsf-manage-widget@142766 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c05c77ca85
commit
8a3110e337
|
@ -163,7 +163,8 @@ public class GRSFNotificationService extends RemoteServiceServlet implements GRS
|
||||||
boolean isGrsf = false;
|
boolean isGrsf = false;
|
||||||
|
|
||||||
for (CkanGroup ckanGroup : groups) {
|
for (CkanGroup ckanGroup : groups) {
|
||||||
if(ckanGroup.getName().contains("grsf")){
|
logger.debug("Group has name " + ckanGroup.getName());
|
||||||
|
if(ckanGroup.getName().toLowerCase().contains("grsf")){
|
||||||
isGrsf = true;
|
isGrsf = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue