From 3d5b6cd89fd879280f867fa0b5724234acd3fcc8 Mon Sep 17 00:00:00 2001 From: Imesh Chandrasiri Date: Thu, 22 Sep 2016 14:14:07 +0530 Subject: [PATCH] Removing unwanted url params from datatable serverside search --- .../public/js/dataTables.extended.serversidepaging.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.serversidepaging.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.serversidepaging.js index 3b2fddb1950..3c8f6ce1030 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.serversidepaging.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.serversidepaging.js @@ -65,6 +65,9 @@ $.fn.datatables_extended_serverside_paging = function (settings , url, dataFilte // params.filter = params.search.value; // } params.url = url; + + //Remove this line to add url parameters which is included by data tables it self + delete params.columns; }, dataFilter: dataFilter },