5176: add "living people" option to Family Group report

This commit is contained in:
Paul Franklin 2016-03-31 09:08:38 -07:00
parent 7177dc34db
commit 2c8feb372c

View File

@ -74,11 +74,14 @@ class FamilyGroup(Report):
includeAttrs - Whether to include attributes
name_format - Preferred format to display names
incl_private - Whether to include private data
living_people - How to handle living people
years_past_death - Consider as living this many years after death
"""
Report.__init__(self, database, options, user)
menu = options.menu
stdoptions.run_private_data_option(self, menu)
stdoptions.run_living_people_option(self, menu)
self.family_handle = None
@ -678,6 +681,8 @@ class FamilyGroupOptions(MenuReportOptions):
stdoptions.add_private_data_option(menu, category_name)
stdoptions.add_living_people_option(menu, category_name)
recursive = BooleanOption(_('Recursive'),False)
recursive.set_help(_("Create reports for all descendants "
"of this family."))