* src/Filters/Rules/Person/_IsChildOfFilterMatch.py

(IsChildOfFilterMatch.init_list): Convert to child_ref.


svn: r7034
This commit is contained in:
Alex Roitman 2006-07-16 15:28:33 +00:00
parent 275c495a32
commit 672d5aa433
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,6 @@
2006-07-16 Alex Roitman <shura@gramps-project.org>
* 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 <zsolt.foldvari@nokia.com>

View File

@ -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