Fixed redirect to saved object after Workflow Save
This commit is contained in:
@@ -306,8 +306,19 @@ class LineworkController extends mfBaseController {
|
||||
|
||||
}
|
||||
|
||||
$sq = "";
|
||||
$query = [];
|
||||
if(is_numeric($this->request->s) && $this->request->s > 0) {
|
||||
$query["s"] = $this->request->s;
|
||||
}
|
||||
if (is_array($this->request->filter)) {
|
||||
$query["filter"] = $this->request->filter;
|
||||
}
|
||||
|
||||
$qs = http_build_query($query);
|
||||
|
||||
$this->layout->setFlash("Workflow Eintrag erfolgreich gespeichert.", "success");
|
||||
$this->redirect("Linework","Index", http_build_query(["filter" => $this->request->filter]), "object=".$termination_id);
|
||||
$this->redirect("Linework","Index", $qs, "object=".$termination_id);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user