From b52151ddf93977602f1c3095a2114f4d92f18804 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 --- ChangeLog | 4 ++++ src/plugins/GraphViz.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 745535813..9e674a75e 100644 --- a/ChangeLog +++ b/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/src/plugins/GraphViz.py b/src/plugins/GraphViz.py index 3d20c31dd..ce819fb8d 100644 --- a/src/plugins/GraphViz.py +++ b/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)