Fix online status not showing
This commit is contained in:
parent
c06c0cbe18
commit
867d86cf6c
|
@ -46,6 +46,8 @@ $(document).ready(function(){
|
|||
"exemption": "off",
|
||||
"version_sentiment": "off",
|
||||
"num": "off",
|
||||
"exemption": "off",
|
||||
"online": "off",
|
||||
},
|
||||
};
|
||||
} else {
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue