Project

General

Profile

Revision 1e892f7f

ID1e892f7f9368aa239015b5e6295891e14819e711
Parent 1e1a1052
Child bc04b70c

Added by Patrick Plitzner over 2 years ago

ref #6321 Invoke search query with default order by title cache

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/BulkEditorQuery.java
16 16
import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator;
17 17
import eu.etaxonomy.cdm.api.service.config.IdentifiableServiceConfiguratorFactory;
18 18
import eu.etaxonomy.cdm.model.common.IdentifiableEntity;
19
import eu.etaxonomy.cdm.persistence.query.OrderHint;
19 20

  
20 21
/**
21 22
 * @author n.hoffmann
......
36 37
		searchConfigurator = IdentifiableServiceConfiguratorFactory.getConfigurator(IdentifiableEntity.class);
37 38
		searchConfigurator.setTitleSearchString(searchString);
38 39
		searchConfigurator.setMatchMode(null);
40
		searchConfigurator.setOrderHints(OrderHint.ORDER_BY_TITLE_CACHE.asList());
39 41
		searchConfigurator.setPropertyPaths(propertyPath);
40 42
		searchConfigurator.setPageSize(20);
41 43
	}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)