From 1c64ddcfda10ce05b8a9e82b71ee810b85c113ec Mon Sep 17 00:00:00 2001 From: nicola Date: Thu, 6 Oct 2022 14:43:28 +0200 Subject: [PATCH] lemme_forma fixed --- index_work_Nik.html | 4 ++-- js/guimanagerNik.js | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/index_work_Nik.html b/index_work_Nik.html index 9bd86d3..888c864 100644 --- a/index_work_Nik.html +++ b/index_work_Nik.html @@ -138,11 +138,11 @@
+ name="lemma_forma">
+ name="lemma_forma">
diff --git a/js/guimanagerNik.js b/js/guimanagerNik.js index db62fda..c94d709 100644 --- a/js/guimanagerNik.js +++ b/js/guimanagerNik.js @@ -513,6 +513,11 @@ $(document).ready(function() { //aggiungo il filtro a quelli esistenti nel json filtro['tipoClausola'] = tipoClausola + +// checkedField = $('input[name=oggetto]:checked', '#filterform').val(); +// +// filtro['lemma_forma'] = checkedField + condizioniFiltro['filtro-' + filterconditions] = filtro @@ -549,7 +554,9 @@ $(document).ready(function() { return false } - condizioniFiltro['filtro-1'] = "query="+clausola; + filtro = {}; + filtro['query'] = clausola + condizioniFiltro['filtro-1'] = filtro; } spquery=buildSQ(condizioniFiltro)