Revision 0c12e309
Added by Andreas Kohlbecker almost 6 years ago
src/main/java/eu/etaxonomy/cdm/dataInserter/RegistrationRequiredDataInserter.java | ||
---|---|---|
458 | 458 |
institution = instituteMap.get(office); |
459 | 459 |
} else { |
460 | 460 |
|
461 |
Pager<AgentBase> pager = repo.getAgentService().findByTitle(Institution.class, office, MatchMode.EXACT, null, null, null, null, null); |
|
461 |
Pager<AgentBase> pager = repo.getAgentService().findByTitleWithRestrictions(Institution.class, office, MatchMode.EXACT, null, null, null, null, null);
|
|
462 | 462 |
if(!pager.getRecords().isEmpty()){ |
463 | 463 |
institution = (Institution) pager.getRecords().get(0); |
464 | 464 |
} else { |
Also available in: Unified diff
ref #7523 exteding CdmFilterablePagingProvider by Restrictions filter