Fix product performance grouped JSON build
This commit is contained in:
@@ -2901,8 +2901,10 @@ function shouldIncludeRowInGroupTotal (grp, row) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function rowsForGroupTotal (grp) {
|
function rowsForGroupTotal (grp) {
|
||||||
const groupName = normalizeGroupName(grp?.sAciklama3)
|
// Use the exact row collection rendered by the QTable under this header.
|
||||||
return flatDetailRows.value.filter(row => normalizeGroupName(row?.sAciklama3) === groupName)
|
// 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) {
|
function resolveGroupIncludedCount (grp) {
|
||||||
|
|||||||
Reference in New Issue
Block a user