Fixed an issue with loading mails with infinite scroll.
This commit is contained in:
@@ -193,7 +193,7 @@ public class MailService : BaseDatabaseService, IMailService
|
||||
{
|
||||
var excludePlaceholders = string.Join(",", options.ExistingUniqueIds.Select(_ => "?"));
|
||||
whereClauses.Add($"MailCopy.UniqueId NOT IN ({excludePlaceholders})");
|
||||
parameters.AddRange(options.ExistingUniqueIds.Select(id => (object)id));
|
||||
parameters.AddRange(options.ExistingUniqueIds.Keys.Select(id => (object)id));
|
||||
}
|
||||
|
||||
if (whereClauses.Any())
|
||||
|
||||
Reference in New Issue
Block a user