From 622f08624c1e5986da5701e9f8b94b5f3a68a64c Mon Sep 17 00:00:00 2001 From: Andrew van Breda Date: Wed, 20 Nov 2019 10:51:35 +0000 Subject: [PATCH] Change to get linked lists working when a report is used. Combines with a change to client_helpers. --- js/indicia.functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/indicia.functions.js b/js/indicia.functions.js index 0e2f1d77..595c7b73 100644 --- a/js/indicia.functions.js +++ b/js/indicia.functions.js @@ -464,7 +464,7 @@ if (typeof window.indiciaData === 'undefined') { var childSelect = $('#' + options.escapedId); var parentSelect = $(el); if (parentSelect.val()) { - $.getJSON(options.request + '&query=' + options.query.replace('%22val%22', parentSelect.val()), function onResponse(data) { + $.getJSON(options.request + '&' + options.query.replace('%22val%22', parentSelect.val()), function onResponse(data) { childSelect.find('option').remove(); if (data.length > 0) { childSelect.removeClass('ui-state-disabled');