#382 remove mixed references to poets names instead of their nicknames

This commit is contained in:
Hamid Reza Mohammadi 2023-06-29 08:25:42 +03:30
parent 1a4eaf8554
commit e2719fdeeb
2 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ namespace RMuseum.Services.Implementation
if (languagesCoupletsCountsUnprocessed.Count > 1)
{
htmlText += $"<p>آمار ابیات برچسب‌گذاری شدهٔ {poet.Name} با زبان غالب شعر در گنجور به شرح زیر است:</p>{Environment.NewLine}";
htmlText += $"<p>آمار ابیات برچسب‌گذاری شدهٔ {poet.Nickname} با زبان غالب شعر در گنجور به شرح زیر است:</p>{Environment.NewLine}";
htmlText += $"<table>{Environment.NewLine}" +
$"<tr class=\"h\">{Environment.NewLine}" +

View File

@ -597,7 +597,7 @@ namespace RMuseum.Services.Implementation
join cat in _context.GanjoorCategories.Where(c => c.ParentId == null)
on poet.Id equals cat.PoetId
where poet.Id == (int)dbPage.SecondPoetId
orderby poet.Name descending
orderby poet.Nickname descending
select new GanjoorPoetViewModel()
{
Id = poet.Id,