From ea3e954aa18a4b7830913331ff5d75596c443b83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Turek?= Date: Fri, 16 Dec 2022 09:20:32 +0100 Subject: [PATCH] Fixed variable name in line 50 Fixes #303 --- webroot/js/local.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webroot/js/local.js b/webroot/js/local.js index ebe5b89..319c379 100644 --- a/webroot/js/local.js +++ b/webroot/js/local.js @@ -47,7 +47,7 @@ var CrudView = { query[$ele.data('filter-field') || $ele.attr('name')] = params.term; if ($ele.data('dependent-on') && $('#' + $ele.data('dependent-on')).val()) { - data[$ele.data('dependent-on-field')] = $('#' + $ele.data('dependent-on')).val(); + query[$ele.data('dependent-on-field')] = $('#' + $ele.data('dependent-on')).val(); } return query;