diff --git a/js/guimanagerNik.js b/js/guimanagerNik.js index 77a989f..171bf7a 100644 --- a/js/guimanagerNik.js +++ b/js/guimanagerNik.js @@ -516,9 +516,9 @@ $(document).ready(function() { var clausolaquery = $("#searchValue").val() filtro['query'] = clausolaquery.trim(); -// eventualmente le 2 seguenti non funzionano Nicola -// checkedField = $('#lemma_forma').val(); -// filtro['lemma_forma'] = checkedField + // eventualmente le 2 seguenti non funzionano Nicola + // checkedField = $('#lemma_forma').val(); + // filtro['lemma_forma'] = checkedField condizioniFiltro['filtro-' + filterconditions] = filtro @@ -626,7 +626,12 @@ $(document).ready(function() { //console.log(binding.has('sub')); // Will be true resultTablePart4 = '' + rowNum++ + ''; for (var i = 0; i < queryFields.length; i++) { - resultTablePart4 = resultTablePart4 + '' + binding.get(queryFields[i]).value + ""; + if (binding.get(queryFields[i]) != null) { + val = binding.get(queryFields[i]).value + } else { + val = "na" + } + resultTablePart4 = resultTablePart4 + '' + val + ""; }; resultTable = resultTable + resultTablePart4 + ''; $("#risultatitesto").append(binding.toString() + ",\n");