From 73be77a286b56dca81262c2149b627c83a8c6e27 Mon Sep 17 00:00:00 2001 From: kato Date: Fri, 9 May 2025 21:05:54 +0900 Subject: [PATCH] =?UTF-8?q?fix=20#4188=20=E3=80=90=E3=82=AB=E3=82=B9?= =?UTF-8?q?=E3=82=BF=E3=83=A0=E3=82=B3=E3=83=B3=E3=83=86=E3=83=B3=E3=83=84?= =?UTF-8?q?=E3=80=91=E6=A4=9C=E7=B4=A2=E3=83=86=E3=83=BC=E3=83=96=E3=83=AB?= =?UTF-8?q?=E3=81=AB=E5=88=A5=E3=81=AE=E3=82=AB=E3=82=B9=E3=82=BF=E3=83=A0?= =?UTF-8?q?=E3=82=B3=E3=83=B3=E3=83=86=E3=83=B3=E3=83=84=E3=81=AE=E6=83=85?= =?UTF-8?q?=E5=A0=B1=E3=81=A7=E4=B8=8A=E6=9B=B8=E3=81=8D=E3=81=95=E3=82=8C?= =?UTF-8?q?=E3=81=A6=E3=81=97=E3=81=BE=E3=81=86=E5=95=8F=E9=A1=8C=E3=82=92?= =?UTF-8?q?=E8=A7=A3=E6=B1=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/Model/Behavior/BcSearchIndexManagerBehavior.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/bc-search-index/src/Model/Behavior/BcSearchIndexManagerBehavior.php b/plugins/bc-search-index/src/Model/Behavior/BcSearchIndexManagerBehavior.php index 454d2c5e57..b8dc94eecd 100755 --- a/plugins/bc-search-index/src/Model/Behavior/BcSearchIndexManagerBehavior.php +++ b/plugins/bc-search-index/src/Model/Behavior/BcSearchIndexManagerBehavior.php @@ -215,7 +215,8 @@ public function saveSearchIndex($searchIndex) $before = $this->SearchIndexes->find() ->where([ 'model' => $searchIndex['model'], - 'model_id' => $searchIndex['model_id'] + 'model_id' => $searchIndex['model_id'], + 'content_id' => $searchIndex['content_id'], ])->first(); } if ($before) {