add series to table

This commit is contained in:
Ross
2025-04-25 18:05:07 +01:00
parent e3762c39cb
commit f584ea07a3
+2 -1
View File
@@ -62,6 +62,7 @@ class CaseTable(tables.Table):
#"history", #"history",
#"condition", #"condition",
"created_date", "created_date",
"series",
"author", "author",
) )
sequence = ("view", )#, "series") sequence = ("view", )#, "series")
@@ -70,7 +71,7 @@ class CaseTable(tables.Table):
def __init__(self, data=None, *args, **kwargs): def __init__(self, data=None, *args, **kwargs):
super().__init__( super().__init__(
data.prefetch_related( data.prefetch_related(
"author",#"condition", "condition__synonym" "author", "series",#"condition", "condition__synonym"
), ),
*args, *args,
**kwargs, **kwargs,