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)