Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35297

Bug in pagination plugin?

$
0
0

Hello,

I think I found a bug in the pagination plugin. It occurs when there is just one entry on the last page and you enter a page higher than the last.

If you have 26 sites total with 251 entries, 10 entries per page are shown and you type in 30 you don't get the expected page 26 but the page 25.

This line may be the problem:

oSettings._iDisplayStart = (Math.ceil((oSettings.fnRecordsDisplay()-1) /
oSettings._iDisplayLength)-1) * oSettings._iDisplayLength;

Right now I have no workaround for this issue, maybe someone has the same problem?


Viewing all articles
Browse latest Browse all 35297

Trending Articles