mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 04:25:42 +00:00
[PUI] Attachment table (#5525)
* Basic AttachmentTable * Add form for editing an attachment * Fix columns for InvenTreeTable component * Update part attachment table * Add dropzone to attachments table * Handle file upload with Dropzone * Add header for panelgroup * Improve rendering of attachment files * Allow various attachment list API endpoints to be searched * Determine available attachment actions based on user permissions * Reload attachment table after upload * Delete attachments via table * ts fix * Clip width of actions column * More updates - Add manual buttons for adding link or file - Edit link or file * Add tooltip for row actions * Adds a custom hook for refreshing tables - So much cleaner :) * Change export type * Disable row action column when checkbox selection is active * Fix(?) for custom hook * Badge tweak
This commit is contained in:
@ -583,10 +583,6 @@ class BuildAttachmentList(AttachmentMixin, ListCreateDestroyAPIView):
|
||||
queryset = BuildOrderAttachment.objects.all()
|
||||
serializer_class = build.serializers.BuildAttachmentSerializer
|
||||
|
||||
filter_backends = [
|
||||
DjangoFilterBackend,
|
||||
]
|
||||
|
||||
filterset_fields = [
|
||||
'build',
|
||||
]
|
||||
|
Reference in New Issue
Block a user