poet's self quoted poems #474

This commit is contained in:
Hamid Reza Mohammadi 2025-03-13 13:11:01 +03:30
parent 4a11b19e50
commit 1f1757eeaf

View File

@ -857,7 +857,7 @@ namespace RMuseum.Services.Implementation
if(
poetId == relatedPoetId
&&
normalRelatedPoems.Where(r => r.Id == Guid.Empty && r.PoemId == quotedPoem.RelatedPoemId && r.RelatedPoemId == quotedPoem.PoemId && r.CoupletIndex == quotedPoem.RelatedCoupletIndex).Any())
normalRelatedPoems.Where(r => r.Id == Guid.Empty && r.PoemId == quotedPoem.RelatedPoemId && r.RelatedPoemId == quotedPoem.PoemId && (r.CoupletIndex == quotedPoem.RelatedCoupletIndex || r.RelatedCoupletIndex == quotedPoem.CoupletIndex )).Any())
{
continue;
}