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

svn: r20443
This commit is contained in:
Tim G L Lyons 2012-09-25 16:49:51 +00:00
parent 177dae7976
commit 98cb7c553d
2 changed files with 11 additions and 2 deletions

View File

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

View File

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