diff --git a/InvenTree/part/templates/part/category.html b/InvenTree/part/templates/part/category.html index cc10828f80..3d514389bc 100644 --- a/InvenTree/part/templates/part/category.html +++ b/InvenTree/part/templates/part/category.html @@ -115,16 +115,15 @@ method: 'get', pagination: true, rememberOrder: true, - {% if category %} queryParams: function(p) { return { + active: true, {% if category %} category: {{ category.id }}, include_child_categories: true, {% endif %} } }, - {% endif %} columns: [ { checkbox: true, @@ -160,7 +159,7 @@ else { return ''; } - } + } }, { field: 'total_stock',