Bug in pagination

Bug in pagination

john88john88 Posts: 1Questions: 0Answers: 0

DataTables 1.10.4.

Function "_numbers", that is responsible for generating array of page numbers, ignores "DataTable.ext.pager.numbers_length" parameter when start and end page numbers are not seen.

Proposed solution (diff):

14064c14064
<           numbers = _range( page-1, page+2 );
---
>           numbers = _range( page-half+1, page+half );
This discussion has been closed.