From 1f1757eeaf1a0a3621c65f24866010efda302008 Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Thu, 13 Mar 2025 13:11:01 +0330 Subject: [PATCH] poet's self quoted poems #474 --- .../GanjoorService-Partials/GanjoorService-QuotedPoems.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-QuotedPoems.cs b/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-QuotedPoems.cs index bf08f94b..b4180b19 100644 --- a/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-QuotedPoems.cs +++ b/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-QuotedPoems.cs @@ -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; }