Skip to content

Merchant daily performance summary drops transactions without a matching operator row #569

Description

@StuartFerguson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions