diff --git a/InvenTree/build/api.py b/InvenTree/build/api.py index 81bcbaf001..904a523a09 100644 --- a/InvenTree/build/api.py +++ b/InvenTree/build/api.py @@ -237,6 +237,14 @@ class BuildAttachmentList(generics.ListCreateAPIView, AttachmentMixin): queryset = BuildOrderAttachment.objects.all() serializer_class = BuildAttachmentSerializer + filter_backends = [ + DjangoFilterBackend, + ] + + filter_fields = [ + 'build', + ] + class BuildAttachmentDetail(generics.RetrieveUpdateDestroyAPIView, AttachmentMixin): """