forked from CGM_Public/pretix_original
Explicit secondary ordering of categories
This commit is contained in:
@@ -429,7 +429,7 @@ class ItemCategory(Versionable):
|
||||
class Meta:
|
||||
verbose_name = _("Item category")
|
||||
verbose_name_plural = _("Item categories")
|
||||
ordering = ('position',)
|
||||
ordering = ('position', 'id')
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
Reference in New Issue
Block a user