lemme_forma fixed

This commit is contained in:
nicola 2022-10-06 14:43:28 +02:00
parent e147920973
commit 1c64ddcfda
2 changed files with 10 additions and 3 deletions

View File

@ -138,11 +138,11 @@
<div class="flex items-center mb0">
<input class="mr2 f6" type="radio" id="lemma" value="lemma"
name="oggetto"> <label for="lemma" class="lh-copy">Lemma</label>
name="lemma_forma"> <label for="lemma" class="lh-copy">Lemma</label>
</div>
<div class="flex items-center mb0">
<input class="mr2 f6" type="radio" id="forma" value="forma"
name="oggetto"> <label for="forma" class="lh-copy">Forma</label>
name="lemma_forma"> <label for="forma" class="lh-copy">Forma</label>
</div>
</fieldset>
</div>

View File

@ -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)