Simple fix for category parameter settings

This commit is contained in:
Oliver Walters 2021-08-26 22:50:50 +10:00
parent e5de69cd96
commit 3adf30a00c

View File

@ -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,
}
});
},
});
});