Fixing platform filtering not working correctly

Resolves https://github.com/wso2/product-iots/issues/1689
revert-70aa11f8
Rasika Perera 7 years ago
parent b5f4bd757a
commit 528837ce1f

@ -440,7 +440,7 @@ function loadDevices(searchType, searchParam) {
break; break;
case 4: case 4:
$(this).attr('data-grid-label', "Type"); $(this).attr('data-grid-label', "Type");
$(this).attr('data-search', deviceType); $(this).attr('data-search', getDeviceTypeLabel(deviceType));
$(this).attr('data-display', getDeviceTypeLabel(deviceType)); $(this).attr('data-display', getDeviceTypeLabel(deviceType));
break; break;
case 5: case 5:

Loading…
Cancel
Save