From 1b9c98ae3e08542e11dcf9f83dbc5ff65dd0c921 Mon Sep 17 00:00:00 2001 From: Oliver Date: Thu, 10 May 2018 21:27:41 +1000 Subject: [PATCH] Bug fix for stock item traking list - Query was returning ALL stock tracking objects! - Now filter by StockItem ID --- InvenTree/stock/templates/stock/item.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/InvenTree/stock/templates/stock/item.html b/InvenTree/stock/templates/stock/item.html index 448c199ce3..29c2d78e88 100644 --- a/InvenTree/stock/templates/stock/item.html +++ b/InvenTree/stock/templates/stock/item.html @@ -181,6 +181,11 @@ sortable: true, search: true, method: 'get', + queryParams: function(p) { + return { + item: {{ item.pk }}, + } + }, columns: [ { field: 'date',