diff --git a/RMuseum/RMuseum.xml b/RMuseum/RMuseum.xml index d4735a44..4a083a38 100644 --- a/RMuseum/RMuseum.xml +++ b/RMuseum/RMuseum.xml @@ -8191,6 +8191,11 @@ mark for delete result + + + new verse, if it is a new verse you should insert it in VORder position and shift verses previously positioned at VORder and after that + + Geo + date tags for poems diff --git a/RMuseum/Services/Implementation/GanjoorService.cs b/RMuseum/Services/Implementation/GanjoorService.cs index aa43bd45..51602436 100644 --- a/RMuseum/Services/Implementation/GanjoorService.cs +++ b/RMuseum/Services/Implementation/GanjoorService.cs @@ -1818,7 +1818,10 @@ namespace RMuseum.Services.Implementation var poem = (await GetPoemById(correction.PoemId, false, false, true, false, false, false, false, true, false)).Result; foreach (var verse in correction.VerseOrderText) { - verse.OriginalText = poem.Verses.Where(v => v.VOrder == verse.VORder).Single().Text; + if(!verse.NewVerse) + { + verse.OriginalText = poem.Verses.Where(v => v.VOrder == verse.VORder).Single().Text; + } } GanjoorPoemCorrection dbCorrection = new GanjoorPoemCorrection() {