Add gramps_id to repository & note text data lists
This commit is contained in:
parent
1d56e7d47a
commit
c740aacce0
@ -151,7 +151,7 @@ class Note(BasicPrimaryObject):
|
||||
:returns: The list of all textual attributes of the object.
|
||||
:rtype: list
|
||||
"""
|
||||
return [str(self.text)]
|
||||
return [str(self.text), self.gramps_id]
|
||||
|
||||
def get_referenced_handles(self):
|
||||
"""
|
||||
|
@ -138,7 +138,7 @@ class Repository(NoteBase, AddressBase, UrlBase, IndirectCitationBase,
|
||||
:returns: Returns the list of all textual attributes of the object.
|
||||
:rtype: list
|
||||
"""
|
||||
return [self.name, str(self.type)]
|
||||
return [self.name, str(self.type), self.gramps_id]
|
||||
|
||||
def get_text_data_child_list(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user