dirty hack to rename data.filter to data.advsearch
This commit is contained in:
parent
760e20bc0f
commit
efaf95beda
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue