diff --git a/InvenTree/static/script/bootstrap/bootstrap-table-group-by.js b/InvenTree/static/script/bootstrap/bootstrap-table-group-by.js index 4195ba394f..e056ba392f 100644 --- a/InvenTree/static/script/bootstrap/bootstrap-table-group-by.js +++ b/InvenTree/static/script/bootstrap/bootstrap-table-group-by.js @@ -176,6 +176,9 @@ html.push(''); if(item.data.length > 1) { + + that.$body.find('tr[data-parent-index=' + item.id + ']').addClass('hidden'); + that.$body.find('tr[data-parent-index=' + item.id + ']:first').before($(html.join(''))); } });