Project

General

Profile

Revision 72836bf3

ID72836bf3632ec7f5f73adf588851184a4e2e71d3
Parent aae0ca06
Child b0127ea9

Added by Katja Luther 7 months ago

ref #8624: call service methods to search for titleCache and abbrevTitleCache

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/store/SearchManager.java
94 94

  
95 95
	@SuppressWarnings("unchecked")
96 96
    public List<Reference> findReferences(IIdentifiableEntityServiceConfigurator configurator){
97
		List<Reference> records = CdmStore.getService(IReferenceService.class).findByTitle(configurator).getRecords();
97
		List<Reference> records = CdmStore.getService(IReferenceService.class).findByTitleAndAbbrevTitle(configurator);
98 98
	    return records;
99 99
	}
100 100

  
101 101
	public List<AgentBase> findAgents(IIdentifiableEntityServiceConfigurator configurator){
102
	    List<AgentBase> records = CdmStore.getService(IAgentService.class).findByTitle(configurator).getRecords();
102
	    List<AgentBase> records = CdmStore.getService(IAgentService.class).findByTitleAndAbbrevTitle(configurator);
103
	    //List<AgentBase> records = CdmStore.getService(IAgentService.class).findByTitle(configurator).getRecords();
103 104
	    return records;
104 105
	}
105 106

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)