From 528837ce1fde52375e79608ffbdbd491efcb3b32 Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Mon, 19 Feb 2018 19:49:45 +0530 Subject: [PATCH] Fixing platform filtering not working correctly Resolves https://github.com/wso2/product-iots/issues/1689 --- .../devicemgt/app/pages/cdmf.page.devices/public/js/listing.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/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 26f3ea8ec67..a8834496fec 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 @@ -440,7 +440,7 @@ function loadDevices(searchType, searchParam) { break; case 4: $(this).attr('data-grid-label', "Type"); - $(this).attr('data-search', deviceType); + $(this).attr('data-search', getDeviceTypeLabel(deviceType)); $(this).attr('data-display', getDeviceTypeLabel(deviceType)); break; case 5: