|
@@ -1074,10 +1074,11 @@ public abstract class SnapshotApplicationBase
|
|
|
.LeftJoin<Notification>((receiver, notify) => notify.Id == receiver.NotificationId)
|
|
|
.LeftJoin<SnapshotBulletin>((receiver, notify, bulletin) => bulletin.Id == notify.ExternalId)
|
|
|
.Where((receiver, notify, bulletin) => bulletin.Shape == EBulletinShape.Message)
|
|
|
- .GroupBy((receiver, notify, bulletin) => new { notify.ExternalId, notify.Title})
|
|
|
+ .GroupBy((receiver, notify, bulletin) => new { notify.Id, notify.ExternalId, notify.Title})
|
|
|
.Select((receiver, notify, bulletin) => new PointsBulletinItemsOutDto
|
|
|
{
|
|
|
BulletinId = notify.ExternalId,
|
|
|
+ NotificationId = notify.Id,
|
|
|
Title = notify.Title,
|
|
|
}, true)
|
|
|
.Take(2)
|