Skip to content

Commit

Permalink
Use only judging_run judgetasks to get script differences.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicky Gerritsen committed Mar 16, 2024
1 parent 87ed35b commit f79a7e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webapp/src/Controller/Jury/SubmissionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,10 @@ public function viewAction(
} else {
$contestProblem = $submission->getContestProblem();
/** @var JudgeTask[] $judgeTasks */
$judgeTasks = $this->em->getRepository(JudgeTask::class)->findBy(['jobid' => $selectedJudging->getJudgingid()]);
$judgeTasks = $this->em->getRepository(JudgeTask::class)->findBy([
'jobid' => $selectedJudging->getJudgingid(),
'type' => JudgeTaskType::JUDGING_RUN,
]);
$unique_compiler_versions = [];
$unique_runner_versions = [];
$sampleJudgeTask = null;
Expand Down

0 comments on commit f79a7e0

Please sign in to comment.