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:
parent
0842d8def4
commit
0d60717443
@ -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):
|
||||
"""
|
||||
|
@ -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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user