diff --git a/src/Resources/public/js/datatables.js b/src/Resources/public/js/datatables.js index b5b5f73..719b6c8 100644 --- a/src/Resources/public/js/datatables.js +++ b/src/Resources/public/js/datatables.js @@ -15,7 +15,7 @@ $.fn.initDataTables = function(config, options) { //Update default used url, so it reflects the current location (useful on single side apps) - $.fn.initDataTables.defaults.url = window.location.origin + window.location.pathname; + $.fn.initDataTables.defaults.url = window.location.origin + window.location.pathname + window.location.search; var root = this, config = $.extend({}, $.fn.initDataTables.defaults, config),