Explorar el Código

兼容monodb用法

jqh hace 6 años
padre
commit
e5deb273ab
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Grid/Filter/Between.php

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

@@ -87,7 +87,7 @@ class Between extends AbstractFilter
 
         $this->query = 'whereBetween';
 
-        return $this->buildCondition($this->column, $this->value);
+        return $this->buildCondition($this->column, [$value['start'], $value['end']]);
     }
 
     /**