From 8dc45e49cda998404f6248535f24c4afb8bdfb27 Mon Sep 17 00:00:00 2001 From: Oliver Date: Sun, 21 May 2023 23:17:28 +1000 Subject: [PATCH] Fix category filtering for parameteric part table (#4861) --- InvenTree/part/templates/part/category.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/InvenTree/part/templates/part/category.html b/InvenTree/part/templates/part/category.html index 70c11b0dd6..c560eed392 100644 --- a/InvenTree/part/templates/part/category.html +++ b/InvenTree/part/templates/part/category.html @@ -297,9 +297,11 @@ loadParametricPartTable( "#parametric-part-table", { - {% if category %} - category: {{ category.pk }}, - {% endif %} + params: { + {% if category %} + category: {{ category.pk }}, + {% endif %} + }, } ); });