From 2c8feb372ccc1fc77a97b94627555248b0455cc8 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Thu, 31 Mar 2016 09:08:38 -0700 Subject: [PATCH] 5176: add "living people" option to Family Group report --- gramps/plugins/textreport/familygroup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gramps/plugins/textreport/familygroup.py b/gramps/plugins/textreport/familygroup.py index 010000229..47a28cca1 100644 --- a/gramps/plugins/textreport/familygroup.py +++ b/gramps/plugins/textreport/familygroup.py @@ -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."))