From 1a979fc113a3c24a7894d46c72d8280ec624f47a Mon Sep 17 00:00:00 2001 From: Oliver Date: Thu, 8 Jul 2021 10:41:18 +1000 Subject: [PATCH] Filtering fix for StockItem attachments --- InvenTree/stock/templates/stock/item_attachments.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}/`;