Fix online status not showing

This commit is contained in:
Mark Veidemanis 2022-08-11 07:22:22 +01:00
parent c06c0cbe18
commit 867d86cf6c
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
3 changed files with 3 additions and 12 deletions

View File

@ -46,6 +46,8 @@ $(document).ready(function(){
"exemption": "off", "exemption": "off",
"version_sentiment": "off", "version_sentiment": "off",
"num": "off", "num": "off",
"exemption": "off",
"online": "off",
}, },
}; };
} else { } else {

View File

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

View File

@ -60,5 +60,6 @@ class DrilldownTable(Table):
exemption = Column() exemption = Column()
num_chans = Column() num_chans = Column()
num_users = Column() num_users = Column()
online = Column()
template_name = "ui/drilldown/table_results.html" template_name = "ui/drilldown/table_results.html"
paginate_by = settings.DRILLDOWN_RESULTS_PER_PAGE paginate_by = settings.DRILLDOWN_RESULTS_PER_PAGE