summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_treatments.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-01-29 10:11:33 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-01-29 10:11:33 +0100
commitc23fd5b7956a3e1c878fa5c87ec4fca5d9c79edb (patch)
tree6ac2dd5f49a6ced0c5922838eb347dd5b1f7c7e4 /archaeological_finds/models_treatments.py
parent6ce2d89c617a81d2762a23265375fe49567836b8 (diff)
downloadIshtar-c23fd5b7956a3e1c878fa5c87ec4fca5d9c79edb.tar.bz2
Ishtar-c23fd5b7956a3e1c878fa5c87ec4fca5d9c79edb.zip
Treatment order by date desc
Diffstat (limited to 'archaeological_finds/models_treatments.py')
-rw-r--r--archaeological_finds/models_treatments.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py
index ad3b92262..5a654cb70 100644
--- a/archaeological_finds/models_treatments.py
+++ b/archaeological_finds/models_treatments.py
@@ -202,7 +202,7 @@ class Treatment(DashboardFormItem, ValueGetter, BaseHistorizedItem,
("change_own_treatment", u"Can change own Treatment"),
("delete_own_treatment", u"Can delete own Treatment"),
)
- ordering = ("start_date", )
+ ordering = ("-year", "-index", "-start_date")
def __unicode__(self):
if self.cached_label: