mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 04:25:42 +00:00
Fixes for build order table
This commit is contained in:
@ -38,6 +38,22 @@ class BuildList(generics.ListCreateAPIView):
|
||||
'sales_order',
|
||||
]
|
||||
|
||||
ordering_fields = [
|
||||
'reference',
|
||||
'part__name',
|
||||
'status',
|
||||
'creation_date',
|
||||
'target_date',
|
||||
'completion_date',
|
||||
'quantity',
|
||||
]
|
||||
|
||||
search_fields = [
|
||||
'reference',
|
||||
'part__name',
|
||||
'description',
|
||||
]
|
||||
|
||||
def get_queryset(self):
|
||||
"""
|
||||
Override the queryset filtering,
|
||||
|
Reference in New Issue
Block a user