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:
Costantino Perciante 2017-02-20 13:29:25 +00:00
parent c05c77ca85
commit 8a3110e337
1 changed files with 2 additions and 1 deletions

View File

@ -163,7 +163,8 @@ public class GRSFNotificationService extends RemoteServiceServlet implements GRS
boolean isGrsf = false;
for (CkanGroup ckanGroup : groups) {
if(ckanGroup.getName().contains("grsf")){
logger.debug("Group has name " + ckanGroup.getName());
if(ckanGroup.getName().toLowerCase().contains("grsf")){
isGrsf = true;
break;
}