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",
#"condition",
"created_date",
"series",
"author",
)
sequence = ("view", )#, "series")
@@ -70,7 +71,7 @@ class CaseTable(tables.Table):
def __init__(self, data=None, *args, **kwargs):
super().__init__(
data.prefetch_related(
"author",#"condition", "condition__synonym"
"author", "series",#"condition", "condition__synonym"
),
*args,
**kwargs,