9556: Descendant Report does not recognise auto. place title generation
This commit is contained in:
parent
71a25a9e28
commit
fd1f290752
@ -55,6 +55,7 @@ from gramps.gen.sort import Sort
|
|||||||
from gramps.gen.utils.db import (get_birth_or_fallback, get_death_or_fallback,
|
from gramps.gen.utils.db import (get_birth_or_fallback, get_death_or_fallback,
|
||||||
get_marriage_or_fallback,
|
get_marriage_or_fallback,
|
||||||
get_divorce_or_fallback)
|
get_divorce_or_fallback)
|
||||||
|
from gramps.gen.display.place import displayer as _pd
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -161,8 +162,7 @@ class Printinfo():
|
|||||||
date = self._get_date(event.get_date_object())
|
date = self._get_date(event.get_date_object())
|
||||||
place_handle = event.get_place_handle()
|
place_handle = event.get_place_handle()
|
||||||
if place_handle:
|
if place_handle:
|
||||||
place = self.database.get_place_from_handle(
|
place = _pd.display_event(self.database, event)
|
||||||
place_handle).get_title()
|
|
||||||
return("%(event_abbrev)s %(date)s - %(place)s" % {
|
return("%(event_abbrev)s %(date)s - %(place)s" % {
|
||||||
'event_abbrev': event.type.get_abbreviation(self._),
|
'event_abbrev': event.type.get_abbreviation(self._),
|
||||||
'date' : date,
|
'date' : date,
|
||||||
|
Loading…
Reference in New Issue
Block a user