Skip to content

Commit

Permalink
Test: Set Question-Id in Manual Scoring
Browse files Browse the repository at this point in the history
  • Loading branch information
kergomard committed Jan 27, 2025
1 parent 66b00fd commit bee18d3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@ public function __construct(
parent::__construct($object);
$this->lng->loadLanguageModule('form');

$this->ctrl->saveParameterByClass(self::class, 'q_id');
$uri = ILIAS_HTTP_PATH . '/' . $this->ctrl->getLinkTargetByClass(
[\ilObjTestGUI::class, self::class],
$this->getDefaultCommand()
);
$this->ctrl->clearParameterByClass(self::class, 'q_id');
$url_builder = new URLBuilder(
(new DataFactory())->uri($uri)
);
Expand Down

0 comments on commit bee18d3

Please sign in to comment.