import eu.etaxonomy.cdm.api.service.dto.EntityDTOBase;
import eu.etaxonomy.cdm.api.service.dto.IdentifiedEntityDTO;
+import eu.etaxonomy.cdm.common.CdmUtils;
import eu.etaxonomy.cdm.model.common.CdmBase;
import eu.etaxonomy.cdm.model.common.ICdmBase;
import eu.etaxonomy.cdm.model.common.IIdentifiableEntity;
if (pattern.equals("*") || pattern.equals("?")){
callService(null);
}else if (StringUtils.isNotBlank(pattern)){
- callService(pattern);
+ callService(CdmUtils.trimNonWordCharacters(pattern));
}
fillContentProvider(null);
}