2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 12:35:46 +00:00

Apply same fix to PurchaseOrder and SalesOrder lists

This commit is contained in:
Oliver
2021-10-14 14:31:25 +11:00
parent 233672d822
commit e46875b0a3
4 changed files with 23 additions and 5 deletions

View File

@ -72,7 +72,7 @@ class BuildSerializer(InvenTreeModelSerializer):
)
)
# Annotate with a "integer" version of the reference field, to be used for natural sorting
# Annotate with an "integer" version of the reference field, to be used for natural sorting
queryset = queryset.annotate(
integer_ref=Cast('reference', output_field=IntegerField())
)