From 672d5aa433abefe7634f9220b36ec381acc10512 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sun, 16 Jul 2006 15:28:33 +0000 Subject: [PATCH] * src/Filters/Rules/Person/_IsChildOfFilterMatch.py (IsChildOfFilterMatch.init_list): Convert to child_ref. svn: r7034 --- ChangeLog | 2 ++ src/Filters/Rules/Person/_IsChildOfFilterMatch.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8255dbe76..ddd859738 100644 --- a/ChangeLog +++ b/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/src/Filters/Rules/Person/_IsChildOfFilterMatch.py b/src/Filters/Rules/Person/_IsChildOfFilterMatch.py index 00f464559..caefef644 100644 --- a/src/Filters/Rules/Person/_IsChildOfFilterMatch.py +++ b/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