Kinship report: change max number of generations

Fixes #12004
This commit is contained in:
SNoiraud authored and Nick Hall committed 2022-03-12 22:37:28 +00:00
1 parent dfe221d48e
commit 01c7227e4a
1 file changed
+2 -2
+2 -2
View File
@@ -359,11 +359,11 @@ class KinshipOptions(MenuReportOptions):
self.__pid.set_help(_("The center person for the report"))
menu.add_option(category_name, "pid", self.__pid)
maxdescend = NumberOption(_("Max Descendant Generations"), 2, 1, 20)
maxdescend = NumberOption(_("Max Descendant Generations"), 2, 1, 50)
maxdescend.set_help(_("The maximum number of descendant generations"))
menu.add_option(category_name, "maxdescend", maxdescend)
maxascend = NumberOption(_("Max Ancestor Generations"), 2, 1, 20)
maxascend = NumberOption(_("Max Ancestor Generations"), 2, 1, 50)
maxascend.set_help(_("The maximum number of ancestor generations"))
menu.add_option(category_name, "maxascend", maxascend)