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:
parent
177dae7976
commit
98cb7c553d
@ -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):
|
||||
"""
|
||||
|
@ -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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user