* src/plugins/GraphViz.py (GraphVizDialog.get_report_filters):

Make static Descendant and Ancestral filters inclusive.


svn: r2212
This commit is contained in:
Alex Roitman 2003-10-08 01:49:35 +00:00
parent ee43d53753
commit a7d583dbf7
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-10-07 Alex Roitman <shura@alex.neuro.umn.edu>
* src/plugins/GraphViz.py (GraphVizDialog.get_report_filters):
Make static Descendant and Ancestral filters inclusive.
2003-10-06 Don Allingham <dallingham@users.sourceforge.net> 2003-10-06 Don Allingham <dallingham@users.sourceforge.net>
* src/plugins/WebPage.py: Fixed ID link so that link references are * src/plugins/WebPage.py: Fixed ID link so that link references are
not converted to &lt; and &gt; not converted to &lt; and &gt;

View File

@ -103,11 +103,11 @@ class GraphVizDialog(Report.ReportDialog):
des = GenericFilter.GenericFilter() des = GenericFilter.GenericFilter()
des.set_name(_("Descendants of %s") % name) 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 = GenericFilter.GenericFilter()
ans.set_name(_("Ancestors of %s") % name) 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 = GenericFilter.GenericFilter()
com.set_name(_("People with common ancestor with %s") % name) com.set_name(_("People with common ancestor with %s") % name)