Bug in pagination plugin?

Bug in pagination plugin?

miriam22miriam22 Posts: 6Questions: 2Answers: 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?

Answers

This discussion has been closed.