- changed status to resolved
order_columns doesn't work with foreign keys
Issue #5
resolved
This commit fixed rendering of columns based on a parent model's field:
But order_columns still can't pull from foreign keys. You get the following error:
"DataTables warning: table id=ProductTable - (1054, "Unknown column 'parent.parent_attr' in 'order clause'")"
Comments (4)
-
repo owner -
repo owner have a look if this commit works for you
-
reporter It works great now, thank you!
-
Fpreign keys also do not seem to play well with searching/filtering by DataTables. Would raise alert: "DataTables warning: table id=XXX - Related Field got invalid lookup: istartswithRelated Field got invalid lookup: istartswith"
- Log in to comment
resolve issue
#5→ <<cset 1f8524862de4>>