From 988cd8f05d9fa67cbb299ff81f7d38a650562fc1 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 13 Jan 2023 13:21:34 +0100 Subject: Syndication: table - reinit headers on load --- ishtar_common/templates/blocks/DataTables.html | 1 + ishtar_common/version.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'ishtar_common') diff --git a/ishtar_common/templates/blocks/DataTables.html b/ishtar_common/templates/blocks/DataTables.html index 681c91d7d..239d48a95 100644 --- a/ishtar_common/templates/blocks/DataTables.html +++ b/ishtar_common/templates/blocks/DataTables.html @@ -241,6 +241,7 @@ jQuery(document).ready(function(){ $(".sources").hide(); $(".sources-{{source_id}}").show(); redraw_plots("{{name}}", "{{source_id}}"); + $("#grid_{{name}}_{{source_id}}").DataTable().clear().draw(); if (current_tab == "map") map_submit_search(); $(this).parent().children().removeClass("btn-success").addClass("btn-secondary"); $(this).removeClass("active").removeClass("btn-secondary").addClass("btn-success"); diff --git a/ishtar_common/version.py b/ishtar_common/version.py index dd0acdf1e..22164ed2b 100644 --- a/ishtar_common/version.py +++ b/ishtar_common/version.py @@ -1,5 +1,5 @@ -# 4.0.33 -VERSION = (4, 0, 33) +# 4.0.34 +VERSION = (4, 0, 34) def get_version(): -- cgit v1.2.3