瀏覽代碼

Merge pull request #599 from lyc2468/patch-1

修复 数据表格搜索BUG
Jiang Qinghua 4 年之前
父節點
當前提交
56fa46eccb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Grid/Filter.php

+ 1 - 1
src/Grid/Filter.php

@@ -460,7 +460,7 @@ class Filter implements Renderable
             if (! empty($conditions)) {
                 $this->expand();
 
-                $this->grid()->fireOnce(new ApplyFilter($this, [$conditions]));
+                $this->grid()->fireOnce(new ApplyFilter($this->grid(), [$conditions]));
 
                 $this->grid()->model()->disableBindTreeQuery();
             }