Fix product performance grouped JSON build

This commit is contained in:
M_Kececi
2026-08-18 21:57:46 +03:00
parent 6bc19e7a43
commit 4395d6bae2
@@ -2901,8 +2901,10 @@ function shouldIncludeRowInGroupTotal (grp, row) {
}
function rowsForGroupTotal (grp) {
const groupName = normalizeGroupName(grp?.sAciklama3)
return flatDetailRows.value.filter(row => normalizeGroupName(row?.sAciklama3) === groupName)
// Use the exact row collection rendered by the QTable under this header.
// The flattened list can temporarily hold stale row objects during QTable
// inline edits and bulk replacements.
return Array.isArray(grp?.items) ? grp.items : []
}
function resolveGroupIncludedCount (grp) {