dirty hack to rename data.filter to data.advsearch

This commit is contained in:
Isaac Connor 2020-10-24 08:51:26 -04:00
parent 760e20bc0f
commit efaf95beda
1 changed files with 4 additions and 1 deletions

View File

@ -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);