From 26768252f02f85c4c1fabb9770dcb01cd07b0e29 Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Wed, 30 Jul 2025 11:22:46 +0000 Subject: [PATCH] Update PreorderStatusflagModel.php --- application/PreorderStatusflag/PreorderStatusflagModel.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/application/PreorderStatusflag/PreorderStatusflagModel.php b/application/PreorderStatusflag/PreorderStatusflagModel.php index c315694b0..dfb47a1f8 100644 --- a/application/PreorderStatusflag/PreorderStatusflagModel.php +++ b/application/PreorderStatusflag/PreorderStatusflagModel.php @@ -120,6 +120,13 @@ class PreorderStatusflagModel { } } + if (array_key_exists("ids", $filter)) { + $ids = $filter['ids']; + if (is_array($ids) && count($ids)) { + $where .= " AND PreorderStatusflag.id IN (" . implode(',', $ids) . ")"; + } + } + if (array_key_exists("create_by", $filter)) { $create_by = $filter['create_by']; if (is_numeric($create_by)) {