From 4e956c7a0b18338e71c6899957e3edc8fb3f661e Mon Sep 17 00:00:00 2001 From: arybakov Date: Mon, 13 May 2024 14:39:09 -0600 Subject: [PATCH] GRAD2-2580 (GRAD) Fix User Request Distribution Run options - Part 2 - CUR and Null Distribution Dates --- .../ca/bc/gov/educ/api/grad/report/service/CommonService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/ca/bc/gov/educ/api/grad/report/service/CommonService.java b/api/src/main/java/ca/bc/gov/educ/api/grad/report/service/CommonService.java index a687cd8a..0a1e4d2f 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/grad/report/service/CommonService.java +++ b/api/src/main/java/ca/bc/gov/educ/api/grad/report/service/CommonService.java @@ -508,7 +508,7 @@ public boolean updateStudentCredentialPosting(UUID studentID, String credentialT public List getStudentCredentialsForUserRequestDisRun(String credentialType, StudentSearchRequest studentSearchRequest, boolean onlyWithNullDistributionDate, String accessToken) { List scdList = new ArrayList<>(); if(StringUtils.isBlank(studentSearchRequest.getActivityCode())) { - studentSearchRequest.setActivityCode("USERDIST"); + studentSearchRequest.setActivityCode("USERDIST" + StringUtils.upperCase(credentialType)); } List studentIDs = studentSearchRequest.getStudentIDs(); if(studentIDs == null || studentIDs.isEmpty()) {