From fc8515ab6d20c6c3d22583471819f87be9a88d9f Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Thu, 1 Aug 2024 15:07:30 +0200 Subject: [PATCH] Fixed last item in Contractqueue --- application/Contractqueue/ContractqueueController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Contractqueue/ContractqueueController.php b/application/Contractqueue/ContractqueueController.php index 597bac662..9b9c5f4fc 100644 --- a/application/Contractqueue/ContractqueueController.php +++ b/application/Contractqueue/ContractqueueController.php @@ -55,7 +55,7 @@ class ContractqueueController extends mfBaseController { if($last_order_id) { $filter["order_id"] = $last_order_id; $orders[$contractq->order_id] = []; - foreach(ContractqueueModel::search($filter, $pagination) as $contractq) { + foreach(ContractqueueModel::search($filter) as $contractq) { $orders[$contractq->order_id][] = $contractq; } }