Skip to content

Commit

Permalink
fix(SILVA-515): fixed timeframe on default values
Browse files Browse the repository at this point in the history
  • Loading branch information
paulushcgcj committed Dec 5, 2024
1 parent 1f50d06 commit 0657431
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,18 @@ public List<OpeningsPerYearDto> getOpeningSubmissionTrends(
openingRepository.getOpeningTrends(
startDate.format(DateTimeFormatter.ISO_DATE),
endDate.format(DateTimeFormatter.ISO_DATE),
orgUnits == null ? List.of("NOVALUE") : orgUnits,
statusCodes == null ? List.of("NOVALUE") : statusCodes
statusCodes == null ? List.of("NOVALUE") : statusCodes,
orgUnits == null ? List.of("NOVALUE") : orgUnits
);

entities
.forEach(
entity -> log.info(
"Opening Submission Trends data found: {} {} {}",
entity.getOpeningId(),
entity.getOrgUnitCode(),
entity.getOrgUnitName()
)
);

if (entities.isEmpty()) {
Expand Down

0 comments on commit 0657431

Please sign in to comment.