From: Alex R. <sh...@al...> - 2004-08-06 21:47:10
|
Lorenzo, On 08/06/2004 04:15:12 PM, Alex Roitman wrote: >=20 > - New options are not implemented in the GUI. I don't know how to do=20 > it. They are marked with a "if 1 =3D=3D 1: # foo_flag". I'll take a look at that as the time permits. > - The output was tested in PDF format only. This should not matter, all the formats should be sane if one is sane. > - I'd like to include the starting person of "Descentants of"-type=20 > filter, but, if I add the line >=20 > ind_list =3D ind_list + plist >=20 > under line 392, i.e. >=20 > if self.filter: > ind_list =3D self.filter.apply(self.database,plist) > ind_list =3D ind_list + plist > else: > ind_list =3D plist >=20 > gramps starts behaving in a strange way: it outputs the summary for=20 > the same persone two-three times. I don't know why. You have the plist which is a list of all people in the database. After applying a filter you get the ind_list of only those individuals who are matched by the filter. Then you are adding both lists, so you are guaranteed to have everybody at least once plus the matching people twice. Not sure about the third time though :-) I thought the "Descendants of" filter can be made inclusive, but it turns out that the checkbox "make inclusive" is only available in the Custom Filter editor, and not from report dialogs. I have changed it so that both Ancestors of and Descendants of are inclusive in this report, as well as in the RelGraph, WebPage,=20 TimeLine, WriteFtree and WriteGedcom plugins. Alex --=20 Alexander Roitman http://ebner.neuroscience.umn.edu/people/alex.html Dept. of Neuroscience, Lions Research Building 2001 6th Street SE, Minneapolis, MN 55455 Tel (612) 625-7566 FAX (612) 626-9201 |