comparison of usage stats of a selected word among all poets #471
This commit is contained in:
parent
ddd61baddc
commit
eca6b42c05
@ -81,8 +81,8 @@ namespace RMuseum.Services.Implementation
|
||||
{
|
||||
if(poetId != null && parentCatId == null)
|
||||
{
|
||||
var poet = await _context.GanjoorPoets.AsNoTracking().Where(p => p.Id == poetId).SingleAsync();
|
||||
parentCatId = poetId;
|
||||
var cat = await _context.GanjoorCategories.AsNoTracking().Where(p => p.PoetId == poetId && p.ParentId == null).SingleAsync();
|
||||
parentCatId = cat.Id;
|
||||
}
|
||||
var source =
|
||||
from cwd in _context.CategoryWordCounts
|
||||
|
||||
Loading…
Reference in New Issue
Block a user