docs: #334 bug fix: batch rhythm assignment does not assign rhythms to dependent sections
This commit is contained in:
parent
4558de6d7d
commit
35b1cb532d
@ -62,7 +62,7 @@ namespace RMuseum.Services.Implementation
|
||||
|
||||
if(section.GanjoorMetreId != null)
|
||||
{
|
||||
var dependentSections = sections.Where(s => s.GanjoorMetreRefSectionIndex == section.Id).ToList();
|
||||
var dependentSections = sections.Where(s => s.GanjoorMetreRefSectionIndex == section.Index).ToList();
|
||||
foreach (var dsection in dependentSections)
|
||||
{
|
||||
dsection.GanjoorMetreId = section.GanjoorMetreId;
|
||||
@ -78,7 +78,7 @@ namespace RMuseum.Services.Implementation
|
||||
|
||||
if (section.GanjoorMetreId != null)
|
||||
{
|
||||
var dependentSections = sections.Where(s => s.GanjoorMetreRefSectionIndex == section.Id).ToList();
|
||||
var dependentSections = sections.Where(s => s.GanjoorMetreRefSectionIndex == section.Index).ToList();
|
||||
foreach (var dsection in dependentSections)
|
||||
{
|
||||
if(dsection.GanjoorMetreId != null && !string.IsNullOrEmpty(dsection.RhymeLetters))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user