This commit is contained in:
Hamid Reza Mohammadi 2023-12-15 16:11:08 +03:30
parent 7f758914b9
commit 947cc97463

View File

@ -29,7 +29,7 @@ namespace RMuseum.Services.Implementation
var source =
_context.GanjoorQuotedPoems
.AsNoTracking()
.Where(r => r.PoemId == poemId)
.Where(r => r.PoemId == poemId && r.ChosenForMainList == true)
.OrderBy(r => r.SortOrder).ThenBy(r => r.CachedRelatedPoemPoetDeathYearInLHijri);
if (itemsCount <= 0)