search nok

This commit is contained in:
Valentin CZERYBA 2023-10-28 13:05:29 +02:00
parent 8feb56141c
commit 52eff81bf1

View File

@ -31,19 +31,19 @@ function buildParam(e, id){
if(id == "inputRoles"){ if(id == "inputRoles"){
var status = e.target.value; var status = e.target.value;
if(status != "-2"){ if(status != "-2"){
param = param + "status="+status+"&"; param = param + "key=status&value="+status+"&";
} }
if(getId != "All"){ if(getId != "All"){
param = param + "roles="+getId; param = param + "key=roles&value="+getId;
} }
} }
if(id == "inputStatus"){ if(id == "inputStatus"){
var roles = e.target.value; var roles = e.target.value;
if(getId != "-2"){ if(getId != "-2"){
param = param + "status="+getId+"&"; param = param + "key=status&value="+getId+"&";
} }
if(roles != "All"){ if(roles != "All"){
param = param + "roles="+roles+"&"; param = param + "key=roles&value="+roles+"&";
} }
} }
} else { } else {