From 78b28b399403aa3242dba13cfa0875771023280d Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 2 Dec 2022 07:20:37 +0000 Subject: [PATCH] Fix partial swaps on table --- app/urls.py | 1 + core/templates/partials/results_table.html | 17 +++++++++-------- core/templates/window-content/results.html | 1 - core/views/ui/drilldown.py | 3 +++ 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/app/urls.py b/app/urls.py index bcfec50..a930b1b 100644 --- a/app/urls.py +++ b/app/urls.py @@ -77,6 +77,7 @@ urlpatterns = [ path("__debug__/", include("debug_toolbar.urls")), path("", DrilldownTableView.as_view(), name="home"), path("search/", DrilldownTableView.as_view(), name="search"), + path("search/partial/", DrilldownTableView.as_view(), name="search_partial"), path("about/", About.as_view(), name="about"), path("callback", Callback.as_view(), name="callback"), path("billing/", Billing.as_view(), name="billing"), diff --git a/core/templates/partials/results_table.html b/core/templates/partials/results_table.html index 46fc355..e81c84d 100644 --- a/core/templates/partials/results_table.html +++ b/core/templates/partials/results_table.html @@ -4,6 +4,7 @@ {% load joinsep %} {% load urlsafe %} {% block table-wrapper %} +
{% block table %}
@@ -80,11 +81,11 @@