From 3adf30a00c041b4451df0a36f17f0f3ceaecd5aa Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 26 Aug 2021 22:50:50 +1000 Subject: [PATCH] Simple fix for category parameter settings --- InvenTree/templates/InvenTree/settings/settings.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/InvenTree/templates/InvenTree/settings/settings.html b/InvenTree/templates/InvenTree/settings/settings.html index dd946d9055..beb7f5eb04 100644 --- a/InvenTree/templates/InvenTree/settings/settings.html +++ b/InvenTree/templates/InvenTree/settings/settings.html @@ -208,7 +208,11 @@ $("#new-cat-param").click(function() { launchModalForm(`/part/category/${pk}/parameters/new/`, { success: function() { - $("#cat-param-table").bootstrapTable('refresh'); + $("#cat-param-table").bootstrapTable('refresh', { + query: { + category: pk, + } + }); }, }); });