Commit fc33af2
authored
Fix exception while cleaning up title history (#2786) #patch
Replaces Min with OrderBy and FirstOrDefault to select the next valid
liege holder date. This improves clarity and ensures correct handling
when no suitable date is found.1 parent ee02d66 commit fc33af2
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
497 | | - | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
498 | 500 | | |
499 | 501 | | |
500 | 502 | | |
| |||
0 commit comments