diff --git a/components/ILIAS/Test/classes/class.ilTestEvaluationGUI.php b/components/ILIAS/Test/classes/class.ilTestEvaluationGUI.php index 769336728631..1a10b7a007e8 100755 --- a/components/ILIAS/Test/classes/class.ilTestEvaluationGUI.php +++ b/components/ILIAS/Test/classes/class.ilTestEvaluationGUI.php @@ -120,7 +120,8 @@ protected function setCss(): void public function showResults() { - $selected_users = explode(',', $this->testrequest->strVal('q_ids')); + $selected_users = explode(',', $this->testrequest->strVal('active_ids')); + $this->ctrl->saveParameterByClass(self::class, 'active_ids'); $this->addPrintButtonToToolbar(); $this->addToggleBestSolutionButtonToToolbar(); diff --git a/components/ILIAS/Test/src/Participants/ParticipantTableShowResultsAction.php b/components/ILIAS/Test/src/Participants/ParticipantTableShowResultsAction.php index a1970bf01d42..56de5e8ddfc5 100644 --- a/components/ILIAS/Test/src/Participants/ParticipantTableShowResultsAction.php +++ b/components/ILIAS/Test/src/Participants/ParticipantTableShowResultsAction.php @@ -96,7 +96,7 @@ public function onSubmit( } $this->ctrl->setParameterByClass( \ilTestEvaluationGUI::class, - 'q_ids', + 'active_ids', array_reduce( $selected_participants, static function (string $c, Participant $v): string {