#123 fix for next unsynchronized suggested link
This commit is contained in:
parent
55688e20c3
commit
3b45a81873
@ -2760,7 +2760,7 @@ namespace RMuseum.Services.Implementation
|
||||
.Include(l => l.SuggestedBy)
|
||||
.Include(l => l.Artifact)
|
||||
.Include(l => l.Item).ThenInclude(i => i.Images)
|
||||
.Where(l => l.ReviewResult == ReviewResult.Approved && l.DisplayOnPage && l.GanjoorPostId == link.GanjoorPostId)
|
||||
.Where(l => l.ReviewResult == ReviewResult.Approved && l.DisplayOnPage && l.GanjoorPostId == link.GanjoorPostId && l.ArtifactId == link.ArtifactId)
|
||||
.OrderBy(l => l.SuggestionDate)
|
||||
.FirstOrDefaultAsync();
|
||||
if(preLink != null)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user