Searching/Filtering ignores get_columns and fails when columns[] not defined

Issue #53 resolved
David Wasylciw created an issue

Rather that use get_columns in a similar to way ordering() calling get_order_columns to define an internal order_columns, filter_queryset accesses columns directly.

If a user has overridden get_columns this won't be noticed by filter_queryset and this causes a list index out of range error when trying to do any kind of search.

Also, same as my ticket regarding get_order_columns(), it would be handy if the script auto-generated columns based on columns[] from DataTables when it hadn't be configured manually.

Comments (1)

  1. Log in to comment