Skip to content

Commit

Permalink
Bug/Vas-11649: handle wrong stats on accession register
Browse files Browse the repository at this point in the history
  • Loading branch information
bbenaissa committed Sep 22, 2023
1 parent b525b09 commit 6fdba6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public PaginatedValuesDto<AccessionRegisterDetailDto> getAllPaginated(
});
AccessionRegisterStatsDto statsDto;
//Build statistics from paged data
if (hasMoreData) {
if (hasMoreData || pageNumber > 0) {
//fetch stats from all records with limit 10000
statsDto = buildStatisticData(accessionRegisterSearchDto, vitamContext);
} else {
Expand Down

0 comments on commit 6fdba6d

Please sign in to comment.