Implement toggleable table fields

This commit is contained in:
2022-08-09 07:20:30 +01:00
parent 89b38111cd
commit d1076ca2b5
6 changed files with 574 additions and 308 deletions

View File

@@ -205,7 +205,7 @@ class DrilldownTableView(SingleTableView):
for k, v in self.context.items():
if k not in context:
context[k] = v
context["hide"] = [
context["invisible"] = [
"date",
"time",
"id",
@@ -215,6 +215,7 @@ class DrilldownTableView(SingleTableView):
"num_chans",
"exemption",
"version_sentiment",
"num",
]
context["show"] = show
if request.method == "GET":