diff --git a/core/static/js/column-shifter.js b/core/static/js/column-shifter.js index 3d7ce93..12481ec 100644 --- a/core/static/js/column-shifter.js +++ b/core/static/js/column-shifter.js @@ -46,6 +46,8 @@ $(document).ready(function(){ "exemption": "off", "version_sentiment": "off", "num": "off", + "exemption": "off", + "online": "off", }, }; } else { diff --git a/core/views/ui/drilldown.py b/core/views/ui/drilldown.py index e51c19e..01df507 100644 --- a/core/views/ui/drilldown.py +++ b/core/views/ui/drilldown.py @@ -205,18 +205,6 @@ class DrilldownTableView(SingleTableView): for k, v in self.context.items(): if k not in context: context[k] = v - context["invisible"] = [ - "date", - "time", - "id", - "num", - "channel_nsfw", - "num_users", - "num_chans", - "exemption", - "version_sentiment", - "num", - ] context["show"] = show if request.method == "GET": if not request.htmx: diff --git a/core/views/ui/tables.py b/core/views/ui/tables.py index 4b61661..78fa5f8 100644 --- a/core/views/ui/tables.py +++ b/core/views/ui/tables.py @@ -60,5 +60,6 @@ class DrilldownTable(Table): exemption = Column() num_chans = Column() num_users = Column() + online = Column() template_name = "ui/drilldown/table_results.html" paginate_by = settings.DRILLDOWN_RESULTS_PER_PAGE