Commit d04db54f authored by Matija Obreza's avatar Matija Obreza

Merge branch 'ui-83-include-accession-reference' into 'master'

Accession Actions: Include Accession reference in action list

See merge request !101
parents c965f758 55d3f482
......@@ -122,6 +122,13 @@ public class AccessionServiceImpl extends FilteredCRUDServiceImpl<Accession, Acc
protected Iterable<Accession> findOwningEntities(Set<Long> id) {
return accessionRepository.findAll(QAccession.accession.id.in(id));
}
@Override
public Page<AccessionAction> listActions(AccessionActionFilter filter, Pageable page) {
Page<AccessionAction> actions = super.listActions(filter, page);
actions.forEach(action -> Hibernate.initialize(action.getAccession()));
return actions;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment