From 95cd519233288ec79dfaaad35d4e43381373b545 Mon Sep 17 00:00:00 2001 From: cesare Date: Wed, 8 Mar 2023 10:02:21 +0100 Subject: [PATCH] =?UTF-8?q?implementazione=20lista=20ris=20per=20unit?= =?UTF-8?q?=C3=A0=20ricerca=3Dperiodo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/cesareBrowse.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/cesareBrowse.js b/js/cesareBrowse.js index 933c415..0fad6da 100644 --- a/js/cesareBrowse.js +++ b/js/cesareBrowse.js @@ -725,7 +725,10 @@ $(" ."+formaClass).hover(function(idx, element) { esprlogica = [] jsonQuery=getJsonQuery() - unitaRicerca=jsonQuery['unitaRicerca'] + if(jsonQuery['QueryAvanzata']==0) + unitaRicerca='forma' + else + unitaRicerca=jsonQuery['unitaRicerca'] console.log("got json query, unita ricerca: "+unitaRicerca) if(jsonQuery['QueryAvanzata']==0 && jsonQuery['Clausola0']['queryText']==''){ alert('Digitare una stringa da cercare')