Skip to content

Commit 39ff1ca

Browse files
committed
fix issue where total records was not updated
1 parent 0230f64 commit 39ff1ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/yajra/Datatables/Datatables.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ private function count()
519519
}
520520

521521
return $this->connection->table($this->connection->raw('('.$myQuery->toSql().') count_row_table'))
522-
->setBindings($myQuery->getBindings())->remember(1)->count();
522+
->setBindings($myQuery->getBindings())->count();
523523
}
524524

525525
/**

0 commit comments

Comments
 (0)