diff --git a/public/js/views/ricercaSpudorata.js b/public/js/views/ricercaSpudorata.js index dc853ac..687549a 100644 --- a/public/js/views/ricercaSpudorata.js +++ b/public/js/views/ricercaSpudorata.js @@ -176,6 +176,7 @@ const RicercaSpudorataView = { try { const data = await App.api(`/api/tickets?search=${encodeURIComponent(query)}&per_page=2000`); this.cachedTickets = data.tickets || []; + this.otrsBaseUrl = data.otrsBaseUrl || ''; this.hasSearched = true; this.currentPage = 1; this.selectedIds.clear(); @@ -267,8 +268,13 @@ const RicercaSpudorataView = {