fixed inst entry point

This commit is contained in:
anhefti 2020-02-24 15:20:44 +01:00
parent 7f41446558
commit 42fd64022c

View file

@ -84,8 +84,8 @@ public class InfoController {
.getOrThrow()
.stream()
.filter(inst -> BooleanUtils.isTrue(inst.active) &&
(inst.urlSuffix == null ||
urlSuffix.equals(inst.urlSuffix)))
inst.urlSuffix != null &&
urlSuffix.equals(inst.urlSuffix))
.map(inst -> new EntityName(inst.getEntityKey(), inst.name))
.collect(Collectors.toList());
}