From 15464118149f1a760e37004c76b70f45031c4850 Mon Sep 17 00:00:00 2001 From: Imesh Chandrasiri Date: Tue, 20 Jun 2017 20:25:57 +0530 Subject: [PATCH] Fixed Multiple ajax calls when filtering --- .../public/js/dataTables.extended.serversidepaging.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ddd23500558..1126983e4f6 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 @@ -177,7 +177,7 @@ $.fn.datatables_extended_serverside_paging = function (settings , url, dataFilte $(filterColumn.eq(column.index()).empty()).html(''); //noinspection SpellCheckingInspection - filterColumn.eq(column.index()).find('input').on('keyup change', function () { + filterColumn.eq(column.index()).find('input').on('keyup', function () { column.search($(this).val()).draw(); }); }