docs: #352 including location in poem geo tags

This commit is contained in:
Hamid Reza Mohammadi 2022-08-02 17:31:40 +04:30
parent ac8b141363
commit c356bfa2ea

View File

@ -110,7 +110,7 @@ namespace RMuseum.Services.Implementation
try
{
return new RServiceResult<PoemGeoDateTag[]>(
await _context.PoemGeoDateTags.AsNoTracking().Where(t => t.PoemId == poemId)
await _context.PoemGeoDateTags.AsNoTracking().Include(t => t.Location).Where(t => t.PoemId == poemId)
.OrderBy(t => t.LunarDateTotalNumber)
.ThenBy(t => t.Id)
.ToArrayAsync()