docs: #311 filtering out poems with no prosody metre assigned
This commit is contained in:
parent
8ebe4d1f32
commit
04e86c28a2
@ -2148,7 +2148,7 @@ namespace RMuseum.Services.Implementation
|
||||
.Where(s =>
|
||||
(poetId == null || s.PoetId == poetId)
|
||||
&&
|
||||
(string.IsNullOrEmpty(metre) || (!string.IsNullOrEmpty(metre) && s.GanjoorMetre.Rhythm == metre) )
|
||||
(string.IsNullOrEmpty(metre) || (metre == "null" && s.GanjoorMetreId == null) || (!string.IsNullOrEmpty(metre) && s.GanjoorMetre.Rhythm == metre) )
|
||||
&&
|
||||
((string.IsNullOrEmpty(rhyme) && s.SectionType == PoemSectionType.WholePoem) || (!string.IsNullOrEmpty(rhyme) && s.RhymeLetters == rhyme))
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user