From b1d5fcb4081a96010b314578b3f36a631ccc7b7a Mon Sep 17 00:00:00 2001 From: doug Date: Thu, 14 Jun 2018 13:37:31 -0400 Subject: [PATCH] Issue 1259: Squert: turning grouping off results in no alerts --- .inc/callback.php | 4 ++ debian/changelog | 6 +++ ...-turning-grouping-off-results-in-no-alerts | 49 +++++++++++++++++++ debian/patches/series | 1 + login.php | 2 +- 5 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 debian/patches/Issue-1259:-Squert:-turning-grouping-off-results-in-no-alerts diff --git a/.inc/callback.php b/.inc/callback.php index 0053c85..216e50c 100644 --- a/.inc/callback.php +++ b/.inc/callback.php @@ -498,6 +498,10 @@ function level2a() { $query->execute($merged_params); // fetch the data and encode to json $rows = $query->fetchAll(PDO::FETCH_ASSOC); + // the frontend expects all values to be strings + for ($i=0;$i Thu, 14 Jun 2018 13:36:43 -0400 + securityonion-squert (20161212-1ubuntu1securityonion40) xenial; urgency=medium * Issue 1169: Squert: remove search link from context menu diff --git a/debian/patches/Issue-1259:-Squert:-turning-grouping-off-results-in-no-alerts b/debian/patches/Issue-1259:-Squert:-turning-grouping-off-results-in-no-alerts new file mode 100644 index 0000000..c806b48 --- /dev/null +++ b/debian/patches/Issue-1259:-Squert:-turning-grouping-off-results-in-no-alerts @@ -0,0 +1,49 @@ +Description: + TODO: Put a short summary on the line above and replace this paragraph + with a longer explanation of this change. Complete the meta-information + with other relevant fields (see below for details). To make it easier, the + information below has been extracted from the changelog. Adjust it or drop + it. + . + securityonion-squert (20161212-1ubuntu1securityonion41) xenial; urgency=medium + . + * Issue 1259: Squert: turning grouping off results in no alerts +Author: Doug Burks + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: https://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: + +--- securityonion-squert-20161212.orig/.inc/callback.php ++++ securityonion-squert-20161212/.inc/callback.php +@@ -498,6 +498,10 @@ function level2a() { + $query->execute($merged_params); + // fetch the data and encode to json + $rows = $query->fetchAll(PDO::FETCH_ASSOC); ++ // the frontend expects all values to be strings ++ for ($i=0;$i +

+ + +-
Version 1.8.0©2016 Paul Halliday
++
Version 1.8.1©2016 Paul Halliday
+ + + diff --git a/debian/patches/series b/debian/patches/series index 16ca594..53b8331 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -35,3 +35,4 @@ fix-for-loop update-mysql-function-calls-in-ip2c.php remove-unnecessary-code-from-ip2c.php:wq Issue-1169:-Squert:-remove-search-link-from-context-menu +Issue-1259:-Squert:-turning-grouping-off-results-in-no-alerts diff --git a/login.php b/login.php index a579456..2f1937f 100644 --- a/login.php +++ b/login.php @@ -150,7 +150,7 @@ function cleanUp($string) {

-
Version 1.8.0©2016 Paul Halliday
+
Version 1.8.1©2016 Paul Halliday