Browse Source

Merge pull request #599 from lyc2468/patch-1

修复 数据表格搜索BUG
Jiang Qinghua 4 năm trước cách đây
mục cha
commit
56fa46eccb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();
             }