diff --git a/monitoring-dashboard/components/org.wso2.ei.dashboard.core/src/main/java/org/wso2/ei/dashboard/micro/integrator/delegates/LogConfigDelegate.java b/monitoring-dashboard/components/org.wso2.ei.dashboard.core/src/main/java/org/wso2/ei/dashboard/micro/integrator/delegates/LogConfigDelegate.java index c3a1e1aa9..ff96c0ac4 100644 --- a/monitoring-dashboard/components/org.wso2.ei.dashboard.core/src/main/java/org/wso2/ei/dashboard/micro/integrator/delegates/LogConfigDelegate.java +++ b/monitoring-dashboard/components/org.wso2.ei.dashboard.core/src/main/java/org/wso2/ei/dashboard/micro/integrator/delegates/LogConfigDelegate.java @@ -69,17 +69,12 @@ public LogConfigsResourceResponse fetchPaginatedLogConfigsResponse(String groupI DelegatesUtil.logDebugLogs(Constants.LOG_CONFIGS, groupId, lowerLimit, upperLimit, order, orderBy, isUpdate); int fromIndex = Integer.parseInt(lowerLimit); int toIndex = Integer.parseInt(upperLimit); - boolean isUpdatedContent = Boolean.parseBoolean(isUpdate); - String prevResourceType = DelegatesUtil.getPrevResourceType(); LogConfigsResourceResponse logsResourceResponse = new LogConfigsResourceResponse(); logger.debug("prevSearch key :" + prevSearchKey + ", currentSearch key:" + searchKey); - if (isUpdatedContent || prevSearchKey == null || !(prevSearchKey.equals(searchKey)) - || !(prevResourceType.equals(resourceType))) { - searchedList = getSearchedLogConfigsResultsFromMI(groupId, - nodeList, searchKey, order, orderBy); - count = searchedList.size(); - } + searchedList = getSearchedLogConfigsResultsFromMI(groupId, + nodeList, searchKey, order, orderBy); + count = searchedList.size(); LogConfigs paginatedList = getPaginationResults(searchedList, fromIndex, toIndex); logsResourceResponse.setResourceList(paginatedList); logsResourceResponse.setCount(count); diff --git a/monitoring-dashboard/components/org.wso2.ei.dashboard.core/src/main/java/org/wso2/ei/dashboard/micro/integrator/delegates/LogsDelegate.java b/monitoring-dashboard/components/org.wso2.ei.dashboard.core/src/main/java/org/wso2/ei/dashboard/micro/integrator/delegates/LogsDelegate.java index cf1c18b47..ab97276ff 100644 --- a/monitoring-dashboard/components/org.wso2.ei.dashboard.core/src/main/java/org/wso2/ei/dashboard/micro/integrator/delegates/LogsDelegate.java +++ b/monitoring-dashboard/components/org.wso2.ei.dashboard.core/src/main/java/org/wso2/ei/dashboard/micro/integrator/delegates/LogsDelegate.java @@ -66,16 +66,11 @@ public LogsResourceResponse getPaginatedLogsListResponse(String groupId, List