Commit d34ed0eb authored by Matija Obreza's avatar Matija Obreza

FIX: Actual count from DB not applied

parent d086ee6c
......@@ -111,7 +111,7 @@ public class AccessionServiceImpl implements AccessionService {
if (total < 10000) {
// If total is below 10K, use actual count
total = accessionRepository.count(filter.buildQuery());
return new PageImpl<>(content, page, total);
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