Project

General

Profile

Revision 38b475da

ID38b475dab3d5a7717182cd33a034c8072cad98c4
Parent 8c761221
Child ac05a823

Added by Patrick Plitzner almost 3 years ago

ref #8041 trim all non-word characters in selecti dialog search string

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/AbstractFilteredCdmResourceSelectionDialog.java
45 45

  
46 46
import eu.etaxonomy.cdm.api.service.dto.EntityDTOBase;
47 47
import eu.etaxonomy.cdm.api.service.dto.IdentifiedEntityDTO;
48
import eu.etaxonomy.cdm.common.CdmUtils;
48 49
import eu.etaxonomy.cdm.model.common.CdmBase;
49 50
import eu.etaxonomy.cdm.model.common.ICdmBase;
50 51
import eu.etaxonomy.cdm.model.common.IIdentifiableEntity;
......
574 575
            if (pattern.equals("*") || pattern.equals("?")){
575 576
                callService(null);
576 577
            }else if (StringUtils.isNotBlank(pattern)){
577
                callService(pattern);
578
                callService(CdmUtils.trimNonWordCharacters(pattern));
578 579
            }
579 580
            fillContentProvider(null);
580 581
        }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)