Pegase745 / sqlalchemy-datatables

SQLAlchemy integration of jQuery DataTables >= 1.10.x (Pyramid and Flask examples)
MIT License
159 stars 67 forks source link

When iDisplayLength or length equals -1 paging() method thows error #56

Closed jabbas closed 7 years ago

jabbas commented 8 years ago

datatables set length/iDisplayLength to -1 if it wants to load all data at once. the sqlalchemy-datatables throws:

TypeError: unsupported operand type(s) for +: 'property' and 'property'

instead of loading all data from the query