jqh 4 سال پیش
والد
کامیت
dfa82eaa4a
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      src/Grid/Filter/Group.php

+ 3 - 1
src/Grid/Filter/Group.php

@@ -272,7 +272,9 @@ class Group extends AbstractFilter
 
         $group = Arr::get($inputs, "{$this->id}_group");
 
-        call_user_func($this->builder, $this);
+        if ($this->group->isEmpty()) {
+            call_user_func($this->builder, $this);
+        }
 
         if ($query = $this->group->get($group)) {
             return $this->buildCondition(...$query['condition']);