You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.
if you turn off bPaginate (
->setOptions(['bPaginate'=>false]);
the collection engine will skip the las row in the collection.
this is because when pagination is off, datables will pass the parameter
iDisplayLength
with a value of-1
wich then gets passed to the engine, resulting in a slice of the collection removing the last item.
here
https://github.com/Chumper/Datatable/blob/master/src/Chumper/Datatable/Engines/CollectionEngine.php#L81
and here
https://github.com/Chumper/Datatable/blob/master/src/Chumper/Datatable/Engines/CollectionEngine.php#L137
I'm working on it, i have a failing test for this bug, and a solution, but before I do a pull request i'd like to fix #341
The text was updated successfully, but these errors were encountered: