Skip to content

Commit

Permalink
修复数据表格关联关系表字段非equal查询均不生效问题
Browse files Browse the repository at this point in the history
  • Loading branch information
jqhph committed Sep 16, 2021
1 parent 33fe136 commit f5fb9a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Grid/Filter/AbstractFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}]];
}

Expand Down

0 comments on commit f5fb9a1

Please sign in to comment.