Explorar o código

Merge pull request #599 from lyc2468/patch-1

修复 数据表格搜索BUG
Jiang Qinghua %!s(int64=4) %!d(string=hai) anos
pai
achega
56fa46eccb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
             }