From f5fb9a1ddbdaab67f4d87ffd2e4f25e01c15c682 Mon Sep 17 00:00:00 2001 From: Jiang qinghua <841324345@qq.com> Date: Thu, 16 Sep 2021 17:45:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=95=B0=E6=8D=AE=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E5=85=B3=E8=81=94=E5=85=B3=E7=B3=BB=E8=A1=A8=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E9=9D=9Eequal=E6=9F=A5=E8=AF=A2=E5=9D=87=E4=B8=8D?= =?UTF-8?q?=E7=94=9F=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Grid/Filter/AbstractFilter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Grid/Filter/AbstractFilter.php b/src/Grid/Filter/AbstractFilter.php index 9bd7a0da5..180c6b03f 100755 --- a/src/Grid/Filter/AbstractFilter.php +++ b/src/Grid/Filter/AbstractFilter.php @@ -586,7 +586,7 @@ protected function buildRelationQuery($relColumn, ...$params) return [$method => [implode('.', $column), function ($q) use ($relColumn, $params) { $relColumn = is_string($relColumn) ? $q->getModel()->getTable().'.'.$relColumn : $relColumn; - call_user_func_array([$q, $this->query], [$relColumn, $params]); + call_user_func_array([$q, $this->query], [$relColumn, ...$params]); }]]; }