locationgroups always on top
This commit is contained in:
parent
be97ed6a47
commit
966b554169
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ class LocationGroup(Location, models.Model):
|
|||
|
||||
@cached_property
|
||||
def order(self):
|
||||
return (self.category.priority, self.priority)
|
||||
return (1, self.category.priority, self.priority)
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
if (self.orig_color != self.color or
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue