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
commit5b6714f7e9776b815c05a40fa16abc4ed2223b30 (patch)
tree7b4a85964bac71dff3a0946564774639c0ad6550 /archaeological_operations
parente278c19588150af3ce63bc5687548dc27087f978 (diff)
downloadIshtar-5b6714f7e9776b815c05a40fa16abc4ed2223b30.tar.bz2
Ishtar-5b6714f7e9776b815c05a40fa16abc4ed2223b30.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=''):