diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 8255dbe76..ddd859738 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,6 @@ 2006-07-16 Alex Roitman + * src/Filters/Rules/Person/_IsChildOfFilterMatch.py + (IsChildOfFilterMatch.init_list): Convert to child_ref. * src/plugins/Checkpoint.py (Checkpoint.run_tool): Add busy cursor. 2006-07-16 Zsolt Foldvari diff --git a/gramps2/src/Filters/Rules/Person/_IsChildOfFilterMatch.py b/gramps2/src/Filters/Rules/Person/_IsChildOfFilterMatch.py index 00f464559..caefef644 100644 --- a/gramps2/src/Filters/Rules/Person/_IsChildOfFilterMatch.py +++ b/gramps2/src/Filters/Rules/Person/_IsChildOfFilterMatch.py @@ -71,5 +71,5 @@ class IsChildOfFilterMatch(Rule): return for fam_id in person.get_family_handle_list(): fam = self.db.get_family_from_handle(fam_id) - for child_handle in fam.get_child_handle_list(): - self.map[child_handle] = 1 + for child_ref in fam.get_child_ref_list(): + self.map[child_ref.ref] = 1