From 98cb7c553d0741ac50a95bf9461625af55c20c26 Mon Sep 17 00:00:00 2001 From: Tim G L Lyons Date: Tue, 25 Sep 2012 16:49:51 +0000 Subject: [PATCH] 0006060: Missing reference in events and citations. Fixed get_handle_referents, which had been disturbed by the fix for bug 6053 svn: r20443 --- src/gen/lib/family.py | 3 ++- src/gen/lib/person.py | 10 +++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/gen/lib/family.py b/src/gen/lib/family.py index a81acd021..d3b637b6a 100644 --- a/src/gen/lib/family.py +++ b/src/gen/lib/family.py @@ -325,7 +325,8 @@ class Family(CitationBase, NoteBase, MediaBase, AttributeBase, LdsOrdBase, :returns: Returns the list of objects referencing primary objects. :rtype: list """ - return self.get_citation_child_list() + return self.media_list + self.attribute_list + \ + self.lds_ord_list + self.child_ref_list + self.event_ref_list def merge(self, acquisition): """ diff --git a/src/gen/lib/person.py b/src/gen/lib/person.py index e5af61806..eb535ee3e 100644 --- a/src/gen/lib/person.py +++ b/src/gen/lib/person.py @@ -434,7 +434,15 @@ class Person(CitationBase, NoteBase, AttributeBase, MediaBase, :returns: Returns the list of objects referencing primary objects. :rtype: list """ - return (self.get_citation_child_list()) + return ([self.primary_name] + + self.media_list + + self.alternate_names + + self.address_list + + self.attribute_list + + self.lds_ord_list + + self.person_ref_list + + self.event_ref_list + ) def merge(self, acquisition): """