summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index 3924249c0..c805f9a3d 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -56,6 +56,7 @@ class RemainType(GeneralType):
class Meta:
verbose_name = _(u"Remain type")
verbose_name_plural = _(u"Remain types")
+ ordering = ('label',)
class Period(GeneralType) :
order = models.IntegerField(_(u"Order"))
@@ -317,6 +318,7 @@ class ActType(GeneralType):
class Meta:
verbose_name = _(u"Act type")
verbose_name_plural = _(u"Act types")
+ ordering = ('label',)
class AdministrativeAct(BaseHistorizedItem, OwnPerms):
TABLE_COLS = ['act_type', 'associated_file', 'operation',