Include Merchant relationship when loading transactions

Ensure merchant data is eagerly loaded when querying transactions
on the Transactions page to avoid N+1 queries.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
AJ
2025-10-12 10:08:47 -04:00
parent 6f307be026
commit 98df8b6240

View File

@@ -54,6 +54,7 @@ namespace MoneyMap.Pages
.ThenInclude(c => c!.Account)
.Include(t => t.Account)
.Include(t => t.TransferToAccount)
.Include(t => t.Merchant)
.AsQueryable();
// Apply filters