LoadMerchantDailyPerformanceGroups and LoadMerchantDailyPerformanceRecentSales now use an inner join on context.Operators.
Impact:
- Any transaction that does not have a matching operator row disappears from the summary
- Totals can undercount compared with the transaction data and the rest of the reporting code, which treats operator as optional in similar paths
Suggested fix:
- Use a left join /
DefaultIfEmpty() if operator data is optional, and preserve the transaction in the result set.
LoadMerchantDailyPerformanceGroupsandLoadMerchantDailyPerformanceRecentSalesnow use an inner join oncontext.Operators.Impact:
Suggested fix:
DefaultIfEmpty()if operator data is optional, and preserve the transaction in the result set.