We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f31def + 9b89c60 commit 30d8619Copy full SHA for 30d8619
src/Bllim/Datatables/Datatables.php
@@ -612,7 +612,7 @@ protected function includeInArray($item, $array)
612
*/
613
protected function paging()
614
{
615
- if (!is_null($this->input['start']) && !is_null($this->input['length'])) {
+ if (!is_null($this->input['start']) && !is_null($this->input['length']) && $this->input['length'] != -1) {
616
$this->query->skip($this->input['start'])->take((int)$this->input['length'] > 0 ? $this->input['length'] : 10);
617
}
618
0 commit comments