From 7ba7e21678ad24a90b56d9f92832db5f7d166e0a Mon Sep 17 00:00:00 2001 From: Pelle Koster Date: Wed, 4 Dec 2024 09:16:52 +0100 Subject: [PATCH 1/2] Keep column filters when autoreloading incident list --- src/argus/htmx/templates/htmx/incidents/_incident_table.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/argus/htmx/templates/htmx/incidents/_incident_table.html b/src/argus/htmx/templates/htmx/incidents/_incident_table.html index b508a44b0..efb863444 100644 --- a/src/argus/htmx/templates/htmx/incidents/_incident_table.html +++ b/src/argus/htmx/templates/htmx/incidents/_incident_table.html @@ -4,7 +4,7 @@ hx-swap="outerHTML" hx-trigger="every {{ update_interval|default:'30' }}s" hx-push-url="true" - hx-include="#table-refresh-info, #incident-filter-box" + hx-include="#table-refresh-info, #incident-filter-box, .column-filter" class="border border-separate border-spacing-1 border-primary table"> From 7f555b7488680754c7885691300c0adefca7baea Mon Sep 17 00:00:00 2001 From: Pelle Koster Date: Wed, 4 Dec 2024 09:18:22 +0100 Subject: [PATCH 2/2] add changelog snippet --- changelog.d/1033.fixed.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/1033.fixed.md diff --git a/changelog.d/1033.fixed.md b/changelog.d/1033.fixed.md new file mode 100644 index 000000000..100e6082e --- /dev/null +++ b/changelog.d/1033.fixed.md @@ -0,0 +1 @@ +argus.htmx: Keep column filters when autoreloading incident list