Skip to content

Commit

Permalink
webui: redirect to queued jobid details view after rerun confirmation
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergkemper committed Oct 18, 2021
1 parent 951697b commit bf8fecf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webui/module/Job/src/Job/Controller/JobController.php
Expand Up @@ -128,6 +128,8 @@ public function indexAction()
);
} else {
$result = $this->getJobModel()->rerunJob($this->bsock, $jobid);
$jobid = rtrim( substr( $result, strrpos($result, "=") + 1 ) );
return $this->redirect()->toRoute('job', array('action' => 'details', 'id' => $jobid));
}
}
catch(Exception $e) {
Expand Down

0 comments on commit bf8fecf

Please sign in to comment.