From d71de221aed80a9c57d1f32c9e2f2ab055916639 Mon Sep 17 00:00:00 2001
From: Isaac Connor
Date: Thu, 7 May 2020 11:00:50 -0400
Subject: [PATCH] If auth is turned on, add a UserId dropdown to filters
---
web/skins/classic/views/filter.php | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/web/skins/classic/views/filter.php b/web/skins/classic/views/filter.php
index e6df44b76..56bd26d19 100644
--- a/web/skins/classic/views/filter.php
+++ b/web/skins/classic/views/filter.php
@@ -27,6 +27,7 @@ require_once('includes/Storage.php');
require_once('includes/Filter.php');
require_once('includes/Monitor.php');
require_once('includes/Zone.php');
+require_once('includes/User.php');
parseSort();
$filterNames = array(''=>translate('ChooseFilter'));
@@ -200,6 +201,18 @@ if ( (null !== $filter->Concurrent()) and $filter->Concurrent() )
+
+
+UserId() ? $filter->UserId() : $user['Id']
+); ?>
+
+
+