Browse Source

列过滤器between

jqh 4 năm trước cách đây
mục cha
commit
d530081fc9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Grid/Column/Filter/Between.php

+ 1 - 1
src/Grid/Column/Filter/Between.php

@@ -113,7 +113,7 @@ class Between extends Filter
             return;
         }
 
-        $this->withQuery($model, 'whereBetween', array_values($value));
+        $this->withQuery($model, 'whereBetween', [array_values($value)]);
     }
 
     protected function addScript()