From 60f7482d6622f70f6bd229eec90a8be8ef105221 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Tue, 30 Aug 2022 10:37:41 +0100 Subject: [PATCH] Add field to table --- core/static/js/column-shifter.js | 1 + core/views/ui/tables.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/core/static/js/column-shifter.js b/core/static/js/column-shifter.js index c82464c..0db50d4 100644 --- a/core/static/js/column-shifter.js +++ b/core/static/js/column-shifter.js @@ -57,6 +57,7 @@ $(document).ready(function(){ "server": "off", "mtype": "off", "hidden": "off", + "filename": "off", }, }; } else { diff --git a/core/views/ui/tables.py b/core/views/ui/tables.py index 910532c..7f92bec 100644 --- a/core/views/ui/tables.py +++ b/core/views/ui/tables.py @@ -67,5 +67,7 @@ class DrilldownTable(Table): mtype = Column() tokens = Column() hidden = Column() + filename = Column() + template_name = "ui/drilldown/table_results.html" paginate_by = settings.DRILLDOWN_RESULTS_PER_PAGE