diff --git a/InvenTree/stock/templates/stock/item_attachments.html b/InvenTree/stock/templates/stock/item_attachments.html index 34ceecc550..5f9cfdee19 100644 --- a/InvenTree/stock/templates/stock/item_attachments.html +++ b/InvenTree/stock/templates/stock/item_attachments.html @@ -37,7 +37,7 @@ loadAttachmentTable( '{% url "api-stock-attachment-list" %}', { filters: { - item: {{ item.pk }}, + stock_item: {{ item.pk }}, }, onEdit: function(pk) { var url = `/api/stock/attachment/${pk}/`;