Fix online status not showing
This commit is contained in:
parent
c06c0cbe18
commit
867d86cf6c
|
@ -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 {
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue