Order common supplies against their order then name
This commit is contained in:
parent
6b125b6f0f
commit
d5d3c3ad18
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ class CommonSupply(BaseModel):
|
||||||
class Meta:
|
class Meta:
|
||||||
verbose_name = 'fourniture commune'
|
verbose_name = 'fourniture commune'
|
||||||
verbose_name_plural = 'fournitures communes'
|
verbose_name_plural = 'fournitures communes'
|
||||||
ordering = ('order',)
|
ordering = ('order', 'name',)
|
||||||
|
|
||||||
name = models.CharField('nom', max_length=200)
|
name = models.CharField('nom', max_length=200)
|
||||||
order = models.IntegerField('ordre')
|
order = models.IntegerField('ordre')
|
||||||
|
|
Loading…
Reference in a new issue