- changed status to resolved
Maximum display length is hardcoded
Issue #1
resolved
A maximum of 100 records are returned, regardless of the value of the iDisplayLength value. This is due to this line:
limit = min(int(self.request.REQUEST.get('iDisplayLength', 10)), 100)
When using the Scroller Datatables plugin, I routinely get iDisplayLength requests of 126.
I patched base_datatable_view.py to fix this (by adding an instance variable named max_display_length with a default of 200). The modified file is attached.
Comments (1)
-
repo owner - Log in to comment
Thanks for the report, I've just updated the code.