added public community status
This commit is contained in:
parent
e3c1ae809d
commit
6c0ffd9824
|
@ -67,7 +67,7 @@ public class UtilCommunityAPI {
|
|||
.readValue(eu.dnetlib.dhp.communityapi.QueryCommunityAPI.communities(), CommunitySummary.class)
|
||||
.stream()
|
||||
.filter(
|
||||
community -> community.getStatus().equals("all") &&
|
||||
community -> (community.getStatus().equals("all") || community.getStatus().equalsIgnoreCase("public")) &&
|
||||
(community.getType().equals("ri") || community.getType().equals("community")))
|
||||
.collect(Collectors.toList());
|
||||
|
||||
|
|
Loading…
Reference in New Issue