summaryrefslogtreecommitdiff
path: root/archaeological_operations
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-04-16 18:10:46 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-04-16 18:10:46 +0200
commit6e1b36a9376559bb015d21114334614aa776c66e (patch)
tree7b4a85964bac71dff3a0946564774639c0ad6550 /archaeological_operations
parent9cf5db29e0969cd1b77760a5183354af9d6dbd8e (diff)
downloadIshtar-6e1b36a9376559bb015d21114334614aa776c66e.tar.bz2
Ishtar-6e1b36a9376559bb015d21114334614aa776c66e.zip
Ordering operation types
Diffstat (limited to 'archaeological_operations')
-rw-r--r--archaeological_operations/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index 02ec1a912..d7dc18b3c 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -38,6 +38,7 @@ class OperationType(GeneralType):
class Meta:
verbose_name = _(u"Operation type")
verbose_name_plural = _(u"Operation types")
+ ordering = ['label']
@classmethod
def is_preventive(cls, ope_type_id, key=''):