Commit c33af8ff authored by Matija Obreza's avatar Matija Obreza
Browse files

Merge branch '143-saved-list-of-accessions-section-is-disappeared' into 'master'

"Saved list of accessions" section is disappeared

Closes #143

See merge request !62
parents 6614f8e2 d39b40ea
......@@ -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