From 62305c171fd8481276503986057b938dd0ab89b0 Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Mon, 12 Jun 2023 15:26:45 +0200 Subject: [PATCH] Fixed auto lineworker / pipeworker filter in Pipework/Linework --- application/Linework/LineworkController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Linework/LineworkController.php b/application/Linework/LineworkController.php index 1bca0df23..9a36c1bca 100644 --- a/application/Linework/LineworkController.php +++ b/application/Linework/LineworkController.php @@ -110,7 +110,7 @@ class LineworkController extends mfBaseController { if($this->me->is("lineworker") && !$this->me->is(["Admin","pipeplanner","lineplanner","netowner"]) && $termination_search["status_id"] == 3) { $this->log->debug("is lineworker"); - //$termination_search["lineworker_id"] = ($this->me->address->parent_id) ? $this->me->address->parent_id : $this->me->address_id; + $termination_search["lineworker_id"] = ($this->me->address->parent_id) ? $this->me->address->parent_id : $this->me->address_id; //var_dump($filter);exit; }