diff options
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 |
commit | e059936f31f789b564f262cf7ef04ecccabd1d45 (patch) | |
tree | 6ac2dd5f49a6ced0c5922838eb347dd5b1f7c7e4 /archaeological_finds/models_treatments.py | |
parent | 24d7a4fc21fa3bb0699af24a0d73bff2dec38c1b (diff) | |
download | Ishtar-e059936f31f789b564f262cf7ef04ecccabd1d45.tar.bz2 Ishtar-e059936f31f789b564f262cf7ef04ecccabd1d45.zip |
Treatment order by date desc
Diffstat (limited to 'archaeological_finds/models_treatments.py')
-rw-r--r-- | archaeological_finds/models_treatments.py | 2 |
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: |