From a7d583dbf72e0068aebb3d29bb2801516847843d Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Wed, 8 Oct 2003 01:49:35 +0000 Subject: [PATCH] * src/plugins/GraphViz.py (GraphVizDialog.get_report_filters): Make static Descendant and Ancestral filters inclusive. svn: r2212 --- gramps2/ChangeLog | 4 ++++ gramps2/src/plugins/GraphViz.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 745535813..9e674a75e 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2003-10-07 Alex Roitman + * src/plugins/GraphViz.py (GraphVizDialog.get_report_filters): + Make static Descendant and Ancestral filters inclusive. + 2003-10-06 Don Allingham * src/plugins/WebPage.py: Fixed ID link so that link references are not converted to < and > diff --git a/gramps2/src/plugins/GraphViz.py b/gramps2/src/plugins/GraphViz.py index 3d20c31dd..ce819fb8d 100644 --- a/gramps2/src/plugins/GraphViz.py +++ b/gramps2/src/plugins/GraphViz.py @@ -103,11 +103,11 @@ class GraphVizDialog(Report.ReportDialog): des = GenericFilter.GenericFilter() des.set_name(_("Descendants of %s") % name) - des.add_rule(GenericFilter.IsDescendantOf([self.person.getId()])) + des.add_rule(GenericFilter.IsDescendantOf([self.person.getId(),1])) ans = GenericFilter.GenericFilter() ans.set_name(_("Ancestors of %s") % name) - ans.add_rule(GenericFilter.IsAncestorOf([self.person.getId()])) + ans.add_rule(GenericFilter.IsAncestorOf([self.person.getId(),1])) com = GenericFilter.GenericFilter() com.set_name(_("People with common ancestor with %s") % name)