chore: remove trailing 'A' from surname-range-start
- still add it if the previous end was too short - this way overall shorter descriptions are possible - in rare cases (at maxTagLength) this prevented a description to be created
This commit is contained in:
parent
7f1df44fc3
commit
ad67c2e0e2
@ -660,8 +660,10 @@ examAutoOccurrence (hash -> seed) rule ExamAutoOccurrenceConfig{..} occurrences
|
|||||||
increase :: [CI Char] -> [CI Char]
|
increase :: [CI Char] -> [CI Char]
|
||||||
increase [] = []
|
increase [] = []
|
||||||
increase (c:cs)
|
increase (c:cs)
|
||||||
| nextChar == head alphabet
|
| nextChar == head alphabet, rule == ExamRoomMatriculation
|
||||||
= nextChar : increase cs
|
= nextChar : increase cs
|
||||||
|
| nextChar == head alphabet
|
||||||
|
= increase cs
|
||||||
| otherwise
|
| otherwise
|
||||||
= nextChar : cs
|
= nextChar : cs
|
||||||
where
|
where
|
||||||
|
|||||||
Reference in New Issue
Block a user