2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00

Improvements to progress bar function

This commit is contained in:
Oliver Walters
2020-10-21 00:49:17 +11:00
parent 8ae16a125e
commit 96277edcf1
4 changed files with 37 additions and 10 deletions

View File

@ -119,6 +119,7 @@ class BuildItemList(generics.ListCreateAPIView):
return query
def filter_queryset(self, queryset):
queryset = super().filter_queryset(queryset)
# Does the user wish to filter by part?
@ -135,7 +136,8 @@ class BuildItemList(generics.ListCreateAPIView):
filter_fields = [
'build',
'stock_item'
'stock_item',
'install_into',
]

View File

@ -75,6 +75,7 @@ class BuildItemSerializer(InvenTreeModelSerializer):
fields = [
'pk',
'build',
'install_into',
'part',
'part_name',
'part_image',