5176: add "living people" option to Complete Individual report
This commit is contained in:
parent
0de5324c07
commit
7177dc34db
@ -110,6 +110,8 @@ class IndivCompleteReport(Report):
|
||||
sections - Which event groups should be given separate sections.
|
||||
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)
|
||||
@ -117,6 +119,7 @@ class IndivCompleteReport(Report):
|
||||
menu = options.menu
|
||||
|
||||
stdoptions.run_private_data_option(self, menu)
|
||||
stdoptions.run_living_people_option(self, menu)
|
||||
self._db = self.database
|
||||
|
||||
self.use_pagebreak = menu.get_option_by_name('pageben').get_value()
|
||||
@ -950,6 +953,8 @@ class IndivCompleteOptions(MenuReportOptions):
|
||||
|
||||
stdoptions.add_private_data_option(menu, category_name)
|
||||
|
||||
stdoptions.add_living_people_option(menu, category_name)
|
||||
|
||||
sort = BooleanOption(_("List events chronologically"), True)
|
||||
sort.set_help(_("Whether to sort events into chronological order."))
|
||||
menu.add_option(category_name, "sort", sort)
|
||||
|
Loading…
Reference in New Issue
Block a user