Merge pull request #277 from julmot/pagination-input

Fix - paging: Input pagination calculation
pull/278/head
Allan Jardine 8 years ago committed by GitHub
commit afef378cf9

@ -157,7 +157,7 @@
iNewStart = 0;
}
if (iNewStart >= oSettings.fnRecordsDisplay()) {
iNewStart = (Math.ceil((oSettings.fnRecordsDisplay() - 1) / oSettings._iDisplayLength) - 1) * oSettings._iDisplayLength;
iNewStart = (Math.ceil((oSettings.fnRecordsDisplay()) / oSettings._iDisplayLength) - 1) * oSettings._iDisplayLength;
}
oSettings._iDisplayStart = iNewStart;

Loading…
Cancel
Save