diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/basic/dto/SearchFieldBooleanCriterionFactory.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/basic/dto/SearchFieldBooleanCriterionFactory.java index f6a4ca36af3bde5eb8ada6af37cfc32a50ce6cbe..2fa4603a9ba1faf4213cda1cdc091310a6d1d702 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/basic/dto/SearchFieldBooleanCriterionFactory.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/basic/dto/SearchFieldBooleanCriterionFactory.java @@ -18,7 +18,7 @@ package ch.systemsx.cisd.openbis.generic.shared.basic.dto; /** * Creates a criterion for a boolean field. Accepts following values: "true", "yes", "false", "no". - * For other values is returns null. + * For other values is returns "*". * * @author pkupczyk */ @@ -36,7 +36,7 @@ public class SearchFieldBooleanCriterionFactory implements ISearchFieldCriterion return new DetailedSearchCriterion(field, "false"); } else { - return null; + return new DetailedSearchCriterion(field, "*"); } }