django-ajax-datatable icon indicating copy to clipboard operation
django-ajax-datatable copied to clipboard

Django simple history - model

Open LukeWebbJacobs opened this issue 3 years ago • 0 comments
trafficstars

Very vague report/query sorry. Using: https://django-simple-history.readthedocs.io/en/latest/

A table based on one of these models, all works except search...

Any ideas what could cause "Request to Search value in " to be correct, but data tx to be incorrect. image

I guess this line is failing in utils.js: column.search(value).draw();

As when I added a print of the request inside dispatch of AjaxDatatableView.py, there are no search params being sent. e.g.

print (request.POST)

<QueryDict: {'draw': ['2'], 'columns[0][data]': ['adh_reference'], 'columns[0][name]': ['adh_reference'], 'columns[0][searchable]': ['true'], 'columns[0][orderable]': ['true'], 'columns[0][search][value]': [''] ................

LukeWebbJacobs avatar Jan 21 '22 17:01 LukeWebbJacobs