omines / datatables-bundle

DataTables bundle for Symfony
https://omines.github.io/datatables-bundle/
MIT License
260 stars 114 forks source link

Fix ordering of columns whose position was changed using colReorder plugin #307

Closed jbtronics closed 1 year ago

jbtronics commented 1 year ago

The colReorder plugin allows changing the position of columns in the datatable. However, this changes the column index, which does not match the backend index anymore. That caused that the wrong column were ordered in the backend. With this commit, the original index will be put in the request, so always the correct column is ordered.

github-actions[bot] commented 1 year ago

Stale pull request message