From 2a9e2a47e8b8962b42e9c69bdc6b2db04c771a19 Mon Sep 17 00:00:00 2001 From: dilanua Date: Tue, 10 May 2016 07:26:49 +0530 Subject: [PATCH] Adding inter-mediate code improvements to dashboard analytics feature --- .../dashboard/dao/impl/GadgetDataServiceDAOImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.analytics.dashboard/src/main/java/org/wso2/carbon/device/mgt/analytics/dashboard/dao/impl/GadgetDataServiceDAOImpl.java b/components/device-mgt/org.wso2.carbon.device.mgt.analytics.dashboard/src/main/java/org/wso2/carbon/device/mgt/analytics/dashboard/dao/impl/GadgetDataServiceDAOImpl.java index 99ce72362a..d13bf8c1d7 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.analytics.dashboard/src/main/java/org/wso2/carbon/device/mgt/analytics/dashboard/dao/impl/GadgetDataServiceDAOImpl.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.analytics.dashboard/src/main/java/org/wso2/carbon/device/mgt/analytics/dashboard/dao/impl/GadgetDataServiceDAOImpl.java @@ -62,8 +62,8 @@ public class GadgetDataServiceDAOImpl implements GadgetDataServiceDAO { int filteredDeviceCount = this.getFilteredDeviceCount(filterSet); DeviceCountByGroupEntry deviceCountByGroupEntry = new DeviceCountByGroupEntry(); - deviceCountByGroupEntry.setGroup("non-specific"); - deviceCountByGroupEntry.setDisplayNameForGroup("Non-specific"); + deviceCountByGroupEntry.setGroup("filtered"); + deviceCountByGroupEntry.setDisplayNameForGroup("Filtered"); deviceCountByGroupEntry.setDeviceCount(filteredDeviceCount); return deviceCountByGroupEntry; @@ -166,8 +166,8 @@ public class GadgetDataServiceDAOImpl implements GadgetDataServiceDAO { } DeviceCountByGroupEntry deviceCountByGroupEntry = new DeviceCountByGroupEntry(); - deviceCountByGroupEntry.setGroup("feature-non-compliant"); - deviceCountByGroupEntry.setDisplayNameForGroup("Feature-non-compliant"); + deviceCountByGroupEntry.setGroup("feature-non-compliant-and-filtered"); + deviceCountByGroupEntry.setDisplayNameForGroup("Feature-non-compliant-and-filtered"); deviceCountByGroupEntry.setDeviceCount(filteredDeviceCount); return deviceCountByGroupEntry;