From 83b628593109ceb484785b0fb50d16dbbba3772d Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Wed, 3 Aug 2022 07:20:30 +0100 Subject: [PATCH] Dynamically update search query when elements are clicked --- core/templates/ui/drilldown/drilldown.html | 20 +++- core/templates/ui/drilldown/results.html | 109 ++++++++++++--------- 2 files changed, 81 insertions(+), 48 deletions(-) diff --git a/core/templates/ui/drilldown/drilldown.html b/core/templates/ui/drilldown/drilldown.html index 1366ea4..abfd4e9 100644 --- a/core/templates/ui/drilldown/drilldown.html +++ b/core/templates/ui/drilldown/drilldown.html @@ -2,6 +2,21 @@ {% load static %} {% block content %} +
+ hx-swap="innerHTML" id="query" name="query" class="input" type="text" placeholder="msg: science AND nick: BillNye AND channel: #science"> @@ -26,6 +41,7 @@