From bfc3a81e18bbde0785adeb9ef16a45d0025d7aae Mon Sep 17 00:00:00 2001 From: arybakov Date: Mon, 6 Nov 2023 16:46:11 -0700 Subject: [PATCH] GRAD2-2339 HD-22855 Year-End Graduation Run - Distribution Report Counts Error --- .../api/batchgraduation/reader/DistributionRunPartitioner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/ca/bc/gov/educ/api/batchgraduation/reader/DistributionRunPartitioner.java b/api/src/main/java/ca/bc/gov/educ/api/batchgraduation/reader/DistributionRunPartitioner.java index e671f5b6..8580c37c 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/batchgraduation/reader/DistributionRunPartitioner.java +++ b/api/src/main/java/ca/bc/gov/educ/api/batchgraduation/reader/DistributionRunPartitioner.java @@ -52,9 +52,9 @@ public Map partition(int gridSize) { endTime = System.currentTimeMillis(); diff = (endTime - startTime)/1000; logger.debug("Total {} eligible StudentCredentialDistributions found in {} sec", credentialList.size(), diff); + filterByStudentSearchRequest(credentialList); if(!credentialList.isEmpty()) { filterOutDeceasedStudents(credentialList); - filterByStudentSearchRequest(credentialList); updateBatchJobHistory(createBatchJobHistory(), (long) credentialList.size()); return getStringExecutionContextMap(gridSize, credentialList, null); }