From 829bde940ddafd9f46a7aaef79e857adbc6ad18c Mon Sep 17 00:00:00 2001 From: Harshan Liyanage Date: Mon, 21 Aug 2017 16:51:20 +0530 Subject: [PATCH] Enabled advacne search - resolves wso2/product-iots#1321 --- .../app/pages/cdmf.page.devices/public/js/listing.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devices/public/js/listing.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devices/public/js/listing.js index 0d5ce68aab..358b95b62e 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devices/public/js/listing.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devices/public/js/listing.js @@ -497,11 +497,11 @@ function loadDevices(searchType, searchParam) { attachDeviceEvents(); - // if ($('.advance-search').length < 1) { - // $(this).closest('.dataTables_wrapper').find('div[id$=_filter] input') - // .after('Advance Search'); - // } + if ($('.advance-search').length < 1) { + $(this).closest('.dataTables_wrapper').find('div[id$=_filter] input') + .after('Advance Search'); + } }, { "placeholder": "Search By Device Name",