omines / datatables-bundle

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

Update the url used for ajax request on each init. #75

Closed jbtronics closed 5 years ago

jbtronics commented 5 years ago

This is needed on single page applications, where pages are loaded via ajax and the url is changed via history api.

Without this change, on a single page application, each time initDataTables is called, the same data is loaded.

curry684 commented 5 years ago

Sorry for late response, totally missed this. The change makes sense 👍