diff --git a/src/Controller/SearchController.php b/src/Controller/SearchController.php index 9706e914..3afbe85c 100644 --- a/src/Controller/SearchController.php +++ b/src/Controller/SearchController.php @@ -60,7 +60,6 @@ class SearchController extends BaseController $params = $this->initParameters('general.search'); $params['data'] = $legacy_jo; - $params['search_term'] = $search_term; $params['mode'] = "details"; // response diff --git a/src/Entity/LegacyJobOrder.php b/src/Entity/LegacyJobOrder.php index fde4d7ff..17485fc7 100644 --- a/src/Entity/LegacyJobOrder.php +++ b/src/Entity/LegacyJobOrder.php @@ -642,15 +642,15 @@ class LegacyJobOrder return $this->dispatch_date; } - public function setDispatchBy($dispatch_by) + public function setDispatchedBy($dispatched_by) { - $this->dispatch_by = $dispatch_by; + $this->dispatched_by = $dispatched_by; return $this; } - public function getDispatchBy() + public function getDispatchedBy() { - return $this->dispatch_by; + return $this->dispatched_by; } public function setAddress($address) diff --git a/templates/search/form.html.twig b/templates/search/form.html.twig index fc830136..892ca1ed 100644 --- a/templates/search/form.html.twig +++ b/templates/search/form.html.twig @@ -96,7 +96,7 @@