From efaf95bedaed2e395002a05c9044cd4fb62370c1 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sat, 24 Oct 2020 08:51:26 -0400 Subject: [PATCH] dirty hack to rename data.filter to data.advsearch --- web/skins/classic/views/js/events.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/skins/classic/views/js/events.js b/web/skins/classic/views/js/events.js index 62f53a1d8..90bce5f5f 100644 --- a/web/skins/classic/views/js/events.js +++ b/web/skins/classic/views/js/events.js @@ -35,7 +35,10 @@ var params = // Called by bootstrap-table to retrieve zm event data function ajaxRequest(params) { - console.log(params); + if ( params.data.filter ) { + params.data.advsearch = params.data.filter; + delete params.data.filter; + } $j.getJSON(thisUrl + '?view=request&request=events&task=query'+filterQuery, params.data) .done(function(data) { var rows = processRows(data.rows);