Implement toggleable table fields
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user