feat(notification-outbox): additive NotificationId query filter for ?correlationId= deep links

Claude-Session: https://claude.ai/code/session_01NcMG6xXdsJbmD2wYAgkK29
This commit is contained in:
Joseph Doherty
2026-09-06 10:59:49 -04:00
parent 7e3e809a70
commit 5497ffd181
6 changed files with 83 additions and 3 deletions
@@ -280,6 +280,12 @@ VALUES
query = query.Where(n => n.Type == type);
}
// Exact match on one notification — the ?correlationId= deep link.
if (!string.IsNullOrEmpty(filter.NotificationId))
{
query = query.Where(n => n.NotificationId == filter.NotificationId);
}
if (!string.IsNullOrEmpty(filter.SourceSiteId))
{
query = query.Where(n => n.SourceSiteId == filter.SourceSiteId);