From e75be0094276a072e57e6f2860541ee1767fe2dc Mon Sep 17 00:00:00 2001 From: IgorA100 Date: Tue, 16 Jul 2024 10:57:35 +0300 Subject: [PATCH 1/7] Recovering the Lost $storage_areas Variable ( _monitor_filters.php) --- web/skins/classic/views/_monitor_filters.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/skins/classic/views/_monitor_filters.php b/web/skins/classic/views/_monitor_filters.php index 62606ad7863..e3a4e334649 100644 --- a/web/skins/classic/views/_monitor_filters.php +++ b/web/skins/classic/views/_monitor_filters.php @@ -290,6 +290,7 @@ function buildMonitorsFilters() { return [ "filterBar" => $html, "displayMonitors" => $displayMonitors, + "storage_areas" => $storage_areas ]; } ?> From d2129a9b434c848b6de98913b1029acf2c0f8339 Mon Sep 17 00:00:00 2001 From: IgorA100 Date: Tue, 16 Jul 2024 10:59:09 +0300 Subject: [PATCH 2/7] Recovering the Lost $storage_areas Variable (console.php) --- web/skins/classic/views/console.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/skins/classic/views/console.php b/web/skins/classic/views/console.php index 8c530a42099..99727bbed21 100644 --- a/web/skins/classic/views/console.php +++ b/web/skins/classic/views/console.php @@ -101,6 +101,7 @@ $resultMonitorFilters = buildMonitorsFilters(); $filterbar = $resultMonitorFilters['filterBar']; $displayMonitors = $resultMonitorFilters['displayMonitors']; +$storage_areas = $resultMonitorFilters['storage_areas']; $displayMonitorIds = array_map(function($m){return $m['Id'];}, $displayMonitors); From 006010a97178669771df27ba46316e7bf211f90f Mon Sep 17 00:00:00 2001 From: IgorA100 Date: Tue, 16 Jul 2024 11:09:39 +0300 Subject: [PATCH 3/7] Recovering the lost $selected_monitor_ids variable (_monitor_filters.php) --- web/skins/classic/views/_monitor_filters.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/skins/classic/views/_monitor_filters.php b/web/skins/classic/views/_monitor_filters.php index e3a4e334649..56871342aba 100644 --- a/web/skins/classic/views/_monitor_filters.php +++ b/web/skins/classic/views/_monitor_filters.php @@ -290,7 +290,8 @@ function buildMonitorsFilters() { return [ "filterBar" => $html, "displayMonitors" => $displayMonitors, - "storage_areas" => $storage_areas + "storage_areas" => $storage_areas, + "selected_monitor_ids" => $selected_monitor_ids ]; } ?> From 2ffa6cb96e1663faa3232d8203e55e6863918f0e Mon Sep 17 00:00:00 2001 From: IgorA100 Date: Tue, 16 Jul 2024 11:10:48 +0300 Subject: [PATCH 4/7] Recovering the lost $selected_monitor_ids variable (montagereview.php) --- web/skins/classic/views/montagereview.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/skins/classic/views/montagereview.php b/web/skins/classic/views/montagereview.php index 113df122d95..ed4c159fb70 100644 --- a/web/skins/classic/views/montagereview.php +++ b/web/skins/classic/views/montagereview.php @@ -61,6 +61,7 @@ $resultMonitorFilters = buildMonitorsFilters(); $filterbar = $resultMonitorFilters['filterBar']; $displayMonitors = $resultMonitorFilters['displayMonitors']; +$selected_monitor_ids = $resultMonitorFilters['selected_monitor_ids']; $preference = ZM\User_Preference::find_one([ 'UserId'=>$user->Id(), From d36888d36e141a7ff7782d7db52379b995392a97 Mon Sep 17 00:00:00 2001 From: IgorA100 Date: Tue, 16 Jul 2024 11:15:12 +0300 Subject: [PATCH 5/7] Recovering the lost $selected_monitor_ids variable (report_event_audit.php) --- web/skins/classic/views/report_event_audit.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/skins/classic/views/report_event_audit.php b/web/skins/classic/views/report_event_audit.php index 16ad446de8d..d247526bfab 100644 --- a/web/skins/classic/views/report_event_audit.php +++ b/web/skins/classic/views/report_event_audit.php @@ -23,6 +23,7 @@ $resultMonitorFilters = buildMonitorsFilters(); $filterbar = $resultMonitorFilters['filterBar']; $displayMonitors = $resultMonitorFilters['displayMonitors']; +$selected_monitor_ids = $resultMonitorFilters['selected_monitor_ids']; if ( isset($_REQUEST['minTime']) ) { $minTime = validHtmlStr($_REQUEST['minTime']); From 0a59a8cb1c53fd51fc587d036e58192408c0f15c Mon Sep 17 00:00:00 2001 From: IgorA100 Date: Tue, 16 Jul 2024 12:27:54 +0300 Subject: [PATCH 6/7] Recovering the Lost $StorageById Variable (_monitor_filters.php) --- web/skins/classic/views/_monitor_filters.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/skins/classic/views/_monitor_filters.php b/web/skins/classic/views/_monitor_filters.php index 56871342aba..949800cb2e4 100644 --- a/web/skins/classic/views/_monitor_filters.php +++ b/web/skins/classic/views/_monitor_filters.php @@ -291,6 +291,7 @@ function buildMonitorsFilters() { "filterBar" => $html, "displayMonitors" => $displayMonitors, "storage_areas" => $storage_areas, + "StorageById" => $StorageById, "selected_monitor_ids" => $selected_monitor_ids ]; } From 5cc545e182e8cfa92bd1498a38d711febd6e86ca Mon Sep 17 00:00:00 2001 From: IgorA100 Date: Tue, 16 Jul 2024 12:56:51 +0300 Subject: [PATCH 7/7] Recovering the Lost $StorageById Variable (console.php) --- web/skins/classic/views/console.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/skins/classic/views/console.php b/web/skins/classic/views/console.php index 99727bbed21..4e628a9e459 100644 --- a/web/skins/classic/views/console.php +++ b/web/skins/classic/views/console.php @@ -102,6 +102,7 @@ $filterbar = $resultMonitorFilters['filterBar']; $displayMonitors = $resultMonitorFilters['displayMonitors']; $storage_areas = $resultMonitorFilters['storage_areas']; +$StorageById = $resultMonitorFilters['StorageById']; $displayMonitorIds = array_map(function($m){return $m['Id'];}, $displayMonitors);