7129: the Family Group Report doesn't show "family" attributes
svn: r23318
This commit is contained in:
parent
3da96a283b
commit
c83a34727d
@ -369,7 +369,7 @@ class FamilyGroup(Report):
|
|||||||
m = event
|
m = event
|
||||||
break
|
break
|
||||||
|
|
||||||
if len(family_list) > 0 or self.missingInfo:
|
if len(family_list) > 0 or self.missingInfo or self.includeAttrs:
|
||||||
self.doc.start_table("MarriageInfo",'FGR-ParentTable')
|
self.doc.start_table("MarriageInfo",'FGR-ParentTable')
|
||||||
self.doc.start_row()
|
self.doc.start_row()
|
||||||
self.doc.start_cell('FGR-ParentHead',3)
|
self.doc.start_cell('FGR-ParentHead',3)
|
||||||
@ -387,6 +387,11 @@ class FamilyGroup(Report):
|
|||||||
if event.get_type() != gen.lib.EventType.MARRIAGE:
|
if event.get_type() != gen.lib.EventType.MARRIAGE:
|
||||||
self.dump_parent_event(str(event.get_type()),event)
|
self.dump_parent_event(str(event.get_type()),event)
|
||||||
|
|
||||||
|
if self.includeAttrs:
|
||||||
|
for attr in family.get_attribute_list():
|
||||||
|
self.dump_parent_line(str(attr.get_type()),
|
||||||
|
attr.get_value())
|
||||||
|
|
||||||
self.doc.end_table()
|
self.doc.end_table()
|
||||||
|
|
||||||
def dump_child_event(self,text, name,event):
|
def dump_child_event(self,text, name,event):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user