From 52eff81bf146246f3af9cdeb0eacdb6b10039c9c Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Sat, 28 Oct 2023 13:05:29 +0200 Subject: [PATCH] search nok --- web/js/library.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/js/library.js b/web/js/library.js index 83c5d7d..2a5b6a8 100644 --- a/web/js/library.js +++ b/web/js/library.js @@ -31,19 +31,19 @@ function buildParam(e, id){ if(id == "inputRoles"){ var status = e.target.value; if(status != "-2"){ - param = param + "status="+status+"&"; + param = param + "key=status&value="+status+"&"; } if(getId != "All"){ - param = param + "roles="+getId; + param = param + "key=roles&value="+getId; } } if(id == "inputStatus"){ var roles = e.target.value; if(getId != "-2"){ - param = param + "status="+getId+"&"; + param = param + "key=status&value="+getId+"&"; } if(roles != "All"){ - param = param + "roles="+roles+"&"; + param = param + "key=roles&value="+roles+"&"; } } } else {