fixed datatable query

This commit is contained in:
2023-10-18 09:56:23 +07:00
parent def07c4e6f
commit 3eefdd8319
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -855,9 +855,10 @@ Request.JSONF = function(options){//oke
var post_data = {};
$(vars.data).map(function(key, item){
var keyval = item.split("=");
if (keyval[0] == 'SID') keyval[1] = parseInt(Math.random() * 99999999);
if (keyval[0] == 'Cari_Jual') keyval[1] = decodeURI(keyval[1]);
return post_data[keyval[0]] = keyval[1];
});
post_data['SID'] = parseInt(Math.random() * 99999999);
opsi.serverSide = true;
opsi.ajax = {
url: vars.url,