search field fixes

This commit is contained in:
Oliver Walters 2021-03-02 13:08:12 +11:00
parent 6f4178acdb
commit 628e87cb28

View File

@ -213,9 +213,12 @@ class POLineItemList(generics.ListCreateAPIView):
'received', 'received',
] ]
search_Fields = [ search_fields = [
'part__part__name', 'part__part__name',
'part__part__description', 'part__part__description',
'part__MPN',
'part__SKU',
'reference',
] ]
filter_fields = [ filter_fields = [