forked from github/plane
fix: typo in model aggregation key
This commit is contained in:
parent
495ac0ca00
commit
d50cc14972
@ -112,7 +112,7 @@ class Issue(ProjectBaseModel):
|
|||||||
|
|
||||||
largest_sort_order = Issue.objects.filter(
|
largest_sort_order = Issue.objects.filter(
|
||||||
project=self.project, state=self.state
|
project=self.project, state=self.state
|
||||||
).aggregate(larget=models.Max("sort_order"))["largest"]
|
).aggregate(largest=models.Max("sort_order"))["largest"]
|
||||||
if largest_sort_order is not None:
|
if largest_sort_order is not None:
|
||||||
self.sort_order = largest_sort_order + 10000
|
self.sort_order = largest_sort_order + 10000
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user