order atlas tables by creation date by default
This commit is contained in:
@@ -65,6 +65,7 @@ class CaseTable(tables.Table):
|
||||
"author",
|
||||
)
|
||||
sequence = ("view", )#, "series")
|
||||
order_by = "-created_date"
|
||||
|
||||
def __init__(self, data=None, *args, **kwargs):
|
||||
super().__init__(
|
||||
@@ -125,6 +126,7 @@ class SeriesTable(tables.Table):
|
||||
"modified_date",
|
||||
)
|
||||
sequence = ("view", "popup", "images", "case")
|
||||
order_by = "-created_date"
|
||||
|
||||
def __init__(self, data=None, *args, **kwargs):
|
||||
super().__init__(
|
||||
|
||||
Reference in New Issue
Block a user