summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-01-13 13:21:34 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2023-01-13 13:22:08 +0100
commit55deac8fddc7253cbcfeeed2c00ee45c1f91610a (patch)
tree2e917a3594bc5bdbeae39b4b7afdbef679e17eb9
parentb8e9ad7dcb65b0d9bc0d82b7c9f5cda334ef36fb (diff)
downloadIshtar-55deac8fddc7253cbcfeeed2c00ee45c1f91610a.tar.bz2
Ishtar-55deac8fddc7253cbcfeeed2c00ee45c1f91610a.zip
Syndication: table - reinit headers on load
-rw-r--r--CHANGES.md7
-rw-r--r--ishtar_common/templates/blocks/DataTables.html1
-rw-r--r--ishtar_common/version.py4
3 files changed, 8 insertions, 4 deletions
diff --git a/CHANGES.md b/CHANGES.md
index 0d4e46626..35a7bc156 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,18 +1,21 @@
---
title: Ishtar changelog
-date: 2023-01-12
+date: 2023-01-13
---
Ishtar changelog
================
+v4.0.34 - 2023-01-13
+--------------------
+
### Bug fixes ###
- Syndication:
- sheet - fix set default permissions
- admin ApiSearchModel - fix exporter filter for Find
- sheet - fix display detail of a dict (display associated label)
- table - select/deselect all
-
+ - table - reinit headers on load
v4.0.33 - 2023-01-12
--------------------
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():