[Bug]: Incorrect Value for the Custom 'Discontinued' Summary in IgcGridComponent
Which component(s) are affected?
Other/unknown (please specify in the description)
Description
Description
In the sample provided at Web Components Grid Summaries, the custom summary 'Discontinued' for the 'Unit in Stock' column shows a value that is the same as the 'Products' summary, which incorrectly displays 20. This reflects all records, but instead, the custom summary 'Discontinued' should show only the true count values of the 'Discontinued' column.
Expected behavior: The count summary for the 'Discontinued' column should display the number of records where 'Discontinued' is set to true.
Actual behavior: The count summary displays the total number of records in the dataset, not accounting for the 'Discontinued' status.
Reproduction
To reproduce the issue, visit the Web Components Grid Summaries sample page and observe the custom 'Discontinued' summary for the 'Unit in Stock' column.
Workaround
There is currently no workaround for this issue.
Is this a regression?
Yes. This used to work, but now it doesn't.
Affected versions
5.2.0
Browser/OS/Node environment
Node: 20.14.0 Package Manager: npm 10.7.0 OS: win32 x64