From 3964134db95079a57503c8a0dd6a08e2d807e379 Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Fri, 31 Oct 2025 17:52:29 +0000 Subject: [PATCH] Add dx_call_includes filter input on web UI --- views/webpage_spots.tpl | 4 ++++ webassets/js/spots.js | 3 +++ 2 files changed, 7 insertions(+) diff --git a/views/webpage_spots.tpl b/views/webpage_spots.tpl index 41ba39b..4fdcef3 100644 --- a/views/webpage_spots.tpl +++ b/views/webpage_spots.tpl @@ -14,6 +14,10 @@

+

+ + +
diff --git a/webassets/js/spots.js b/webassets/js/spots.js index 6cee5df..f62ec6b 100644 --- a/webassets/js/spots.js +++ b/webassets/js/spots.js @@ -20,6 +20,9 @@ function buildQueryString() { } }); str = str + "limit=" + $("#spots-to-fetch option:selected").val(); + if ($("#filter-dx-call").val() != "") { + str = str + "&dx_call_includes=" + encodeURIComponent($("#filter-dx-call").val()); + } return str; }