##3890
authorKatja Luther <k.luther@bgbm.org>
Thu, 11 Dec 2014 12:55:53 +0000 (12:55 +0000)
committerKatja Luther <k.luther@bgbm.org>
Thu, 11 Dec 2014 12:55:53 +0000 (12:55 +0000)
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/BulkEditorQuery.java

index b32f182c54fcd21831987ed1ae04bd728b8e81c7..96b0cbed6fcb4ac6c33077779f453099abea96ce 100644 (file)
@@ -10,7 +10,9 @@
 
 package eu.etaxonomy.taxeditor.bulkeditor;
 
+import java.util.ArrayList;
 import java.util.Comparator;
+import java.util.List;
 
 import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator;
 import eu.etaxonomy.cdm.api.service.config.IdentifiableServiceConfiguratorFactory;
@@ -30,10 +32,12 @@ public class BulkEditorQuery {
        public BulkEditorQuery (String searchString, Comparator comparator) {
                this.searchString = searchString;
                this.comparator = comparator;
-               
+               List<String> propertyPath = new ArrayList<String>();
+               propertyPath.add("markers");
                searchConfigurator = IdentifiableServiceConfiguratorFactory.getConfigurator(IdentifiableEntity.class);
                searchConfigurator.setTitleSearchString(searchString);
                searchConfigurator.setMatchMode(null);
+               searchConfigurator.setPropertyPaths(propertyPath);
                
                if(searchString != null && searchString.trim().equals("*")){
                        searchConfigurator.setPageSize(1000);