|
|
|
@ -4661,8 +4661,9 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
|
|
|
|
|
paginationResult.setRecordsTotal(0);
|
|
|
|
|
return paginationResult;
|
|
|
|
|
}
|
|
|
|
|
int count = deviceDAO.getSubscribedDeviceCount(devicesIds, tenantId, request.getStatusList());
|
|
|
|
|
paginationResult.setRecordsFiltered(count);
|
|
|
|
|
//int count = deviceDAO.getSubscribedDeviceCount(devicesIds, tenantId, request.getStatusList());
|
|
|
|
|
int count = deviceDAO.getSubscribedDeviceCountOfFilteredList();
|
|
|
|
|
paginationResult.setRecordsFiltered(subscribedDeviceDetails.size());
|
|
|
|
|
paginationResult.setRecordsTotal(count);
|
|
|
|
|
} catch (DeviceManagementDAOException e) {
|
|
|
|
|
String msg = "Error occurred while retrieving device list for device ids " + devicesIds;
|
|
|
|
|