From db8586815b59e8b3e13f59ccdfd583fe4c3357b7 Mon Sep 17 00:00:00 2001 From: TaykYoku Date: Thu, 18 Mar 2021 11:07:48 +0100 Subject: [PATCH] fix System, Module --> DIRACSystem, DIRACModule --- WebApp/handler/ComponentHistoryHandler.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/WebApp/handler/ComponentHistoryHandler.py b/WebApp/handler/ComponentHistoryHandler.py index 069dcfb40..db3d87df8 100644 --- a/WebApp/handler/ComponentHistoryHandler.py +++ b/WebApp/handler/ComponentHistoryHandler.py @@ -38,9 +38,9 @@ def web_getInstallationData(self): if installation['UnInstalledBy']: uninstalledBy = installation['UnInstalledBy'] values.append({'Name': installation['Instance'], - 'Module': installation['Component']['Module'], + 'Module': installation['Component']['DIRACModule'], 'Host': installation['Host']['HostName'], - 'System': installation['Component']['System'], + 'System': installation['Component']['DIRACSystem'], 'Type': installation['Component']['Type'], 'Installed': installation['InstallationTime'].strftime('%Y-%m-%d %H:%M'), 'Uninstalled': uninstalled, @@ -77,8 +77,8 @@ def web_getSelectionData(self): for installation in result['Value']: data['name'].add(installation['Instance']) data['host'].add(installation['Host']['HostName']) - data['module'].add(installation['Component']['Module']) - data['system'].add(installation['Component']['System']) + data['module'].add(installation['Component']['DIRACModule']) + data['system'].add(installation['Component']['DIRACSystem']) data['type'].add(installation['Component']['Type']) # Order and format the results