We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2daefa5 commit 7a5196dCopy full SHA for 7a5196d
src/DataTables.php
@@ -202,7 +202,7 @@ protected function order()
202
*/
203
protected function limit()
204
{
205
- if (($start = $this->request->get('start')) && ($length = $this->request->get('length')) != -1) {
+ if (($start = $this->request->get('start')) !== NULL && ($length = $this->request->get('length')) != -1) {
206
$this->queryBuilder->{$this->config->get('limit')}($length, $start);
207
}
208
0 commit comments