Fix Locations Gramplet (Enclosed by) to properly displaycertain nested places. (#1127)
when the smallest place has undated enclosure and larger places are dated. Issue #11691
This commit is contained in:
parent
bb0647274b
commit
9a4adab9d6
@ -300,6 +300,8 @@ class DateRange:
|
|||||||
"""
|
"""
|
||||||
start = None
|
start = None
|
||||||
stop = None
|
stop = None
|
||||||
|
if date.is_empty():
|
||||||
|
return (None, None)
|
||||||
if date.modifier == Date.MOD_NONE:
|
if date.modifier == Date.MOD_NONE:
|
||||||
start = date.sortval
|
start = date.sortval
|
||||||
stop = date.sortval
|
stop = date.sortval
|
||||||
|
Loading…
Reference in New Issue
Block a user