morlandi / django-ajax-datatable

A Django app which provides the integration of a Django project with the jQuery Javascript library DataTables.net
MIT License
204 stars 64 forks source link

Support choice lookup for m2m_foreign_field #57

Closed maps82 closed 2 years ago

maps82 commented 2 years ago

Add support for choices lookup in ManyToManyColumn.

maps82 commented 2 years ago

Hi. This pull request enables resolving the labels of a Choice field when using m2m_foreign_fields.

Currently, when m2m_foreign_field is a Choice field and there is more than one value, no value shows up at all.

morlandi commented 2 years ago

Thank you very much @maps82 ... I will check and merge your PR soon. Also, I'll try to make use of the new feature in the example project

etiennepouliot commented 2 years ago

This will also fix #40.

With this PR, my PR #66 is not needed.

morlandi commented 2 years ago

Thank you @maps82

@etiennepouliot ... so I will merge this PR and drop #66. Is this OK for you ? Many thanks for cooperation