0006060: Missing reference in events and citations. Fixed get_handle_referents, which had been disturbed by the fix for bug 6053

svn: r20444
This commit is contained in:
Tim G L Lyons 2012-09-25 16:50:59 +00:00
parent 0842d8def4
commit 0d60717443
2 changed files with 11 additions and 2 deletions

View File

@ -361,7 +361,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):
"""

View File

@ -481,7 +481,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):
"""