diff --git a/core/templates/ui/drilldown/drilldown.html b/core/templates/ui/drilldown/drilldown.html index 4349333..c50fd14 100644 --- a/core/templates/ui/drilldown/drilldown.html +++ b/core/templates/ui/drilldown/drilldown.html @@ -9,7 +9,7 @@ hx-post="{% url 'modal_context' %}" hx-vals='{"net": "{{ params.net|escapejs }}", "num": "{{ params.num|escapejs }}", - "src": "{{ params.src|escapejs }}", + "source": "{{ params.source|escapejs }}", "channel": "{{ params.channel|escapejs }}", "time": "{{ params.time|escapejs }}", "date": "{{ params.date|escapejs }}", diff --git a/core/views/ui/drilldown.py b/core/views/ui/drilldown.py index 9e0253e..f0edcb0 100644 --- a/core/views/ui/drilldown.py +++ b/core/views/ui/drilldown.py @@ -305,7 +305,6 @@ class DrilldownContextModal(APIView): invalid = [None, False, "—", "None"] query_params = {k: v for k, v in request.data.items() if v} - for key in query_params: if query_params[key] in invalid: query_params[key] = None