Merge pull request #2024 from SchrodingersGat/category-param-fix

Simple fix for category parameter settings
This commit is contained in:
Oliver 2021-08-26 23:11:29 +10:00 committed by GitHub
commit e261fa6b29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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