From dfb6fc241749832baf327c5acf7497a0641c398a Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Mon, 25 Sep 2006 00:51:17 +0000 Subject: [PATCH] * src/plugins/AncestorReport.py: Fix generation numbers. svn: r7327 --- gramps2/ChangeLog | 3 +++ gramps2/src/plugins/AncestorReport.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index a703572ab..c9b6c7ae6 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2006-09-24 Brian Matherly + * src/plugins/AncestorReport.py: Fix generation numbers. + 2006-09-23 Don Allingham * src/images/sources.svg: new icon * src/images/reports.svg: new icon diff --git a/gramps2/src/plugins/AncestorReport.py b/gramps2/src/plugins/AncestorReport.py index 7f0e37bd4..a87d86ec5 100644 --- a/gramps2/src/plugins/AncestorReport.py +++ b/gramps2/src/plugins/AncestorReport.py @@ -82,7 +82,7 @@ class AncestorReport(Report): = options_class.get_report_generations() def apply_filter(self,person_handle,index,generation=1): - if not person_handle or generation >= self.max_generations: + if not person_handle or generation > self.max_generations: return self.map[index] = person_handle