Explorar o código

列过滤器between

jqh %!s(int64=5) %!d(string=hai) anos
pai
achega
d530081fc9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()