Commit d39b40ea authored by Maxym Borodenko's avatar Maxym Borodenko
Browse files

"Saved list of accessions" section is disappeared

parent 6614f8e2
......@@ -287,7 +287,7 @@ public class GenesysServiceImpl implements GenesysService, DatasetService {
Page<Accession> data = accessionRepository.findById(accessionIds, pageable);
return new PageImpl<AccessionDetails>(getAccessionDetails(data.getContent().stream().map(a -> a.getId()).collect(Collectors.toList())), pageable, data.getTotalElements());
} else {
return new PageImpl<AccessionDetails>(new ArrayList<AccessionDetails>(), pageable, 0);
return null;
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