Fix standard input pagination calculation

Fixes #275
pull/277/head
Julian Motz 8 years ago
parent 426ebfb4d5
commit 0ea57954cd

@ -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