9058: ReferencedBySelectionProxy can forget some referenced tags
Tag records list forgot tags linked with some primary objects was on Gramps XML file format, not related to backup or tags on Person
This commit is contained in:
parent
373a39ade3
commit
6a0182456b
@ -226,6 +226,7 @@ class ReferencedBySelectionProxyDb(ProxyDbBase):
|
||||
self.process_media_ref_list(family)
|
||||
self.process_attributes(family)
|
||||
self.process_lds_ords(family)
|
||||
self.process_tags(family)
|
||||
|
||||
def process_event(self, event):
|
||||
"""
|
||||
@ -246,6 +247,8 @@ class ReferencedBySelectionProxyDb(ProxyDbBase):
|
||||
if place:
|
||||
self.process_place(place)
|
||||
|
||||
self.process_tags(event)
|
||||
|
||||
def process_place(self, place):
|
||||
"""
|
||||
Follow the place object and find all of the primary objects
|
||||
@ -264,6 +267,8 @@ class ReferencedBySelectionProxyDb(ProxyDbBase):
|
||||
if place:
|
||||
self.process_place(place)
|
||||
|
||||
self.process_tags(place)
|
||||
|
||||
def process_source(self, source):
|
||||
"""
|
||||
Follow the source object and find all of the primary objects
|
||||
@ -281,6 +286,7 @@ class ReferencedBySelectionProxyDb(ProxyDbBase):
|
||||
self.process_repository(repo)
|
||||
self.process_media_ref_list(source)
|
||||
self.process_notes(source)
|
||||
self.process_tags(source)
|
||||
|
||||
def process_citation(self, citation):
|
||||
"""
|
||||
@ -297,6 +303,7 @@ class ReferencedBySelectionProxyDb(ProxyDbBase):
|
||||
self.process_source(source)
|
||||
self.process_media_ref_list(citation)
|
||||
self.process_notes(citation)
|
||||
self.process_tags(citation)
|
||||
|
||||
def process_repository(self, repository):
|
||||
"""
|
||||
@ -309,6 +316,7 @@ class ReferencedBySelectionProxyDb(ProxyDbBase):
|
||||
self.process_notes(repository)
|
||||
self.process_addresses(repository)
|
||||
self.process_urls(repository)
|
||||
self.process_tags(repository)
|
||||
|
||||
def process_media(self, media):
|
||||
"""
|
||||
@ -321,6 +329,7 @@ class ReferencedBySelectionProxyDb(ProxyDbBase):
|
||||
self.process_citation_ref_list(media)
|
||||
self.process_attributes(media)
|
||||
self.process_notes(media)
|
||||
self.process_tags(media)
|
||||
|
||||
def process_note(self, note):
|
||||
"""
|
||||
@ -338,6 +347,7 @@ class ReferencedBySelectionProxyDb(ProxyDbBase):
|
||||
obj_class = "MediaObject"
|
||||
if prop == "handle":
|
||||
self.queue_object(obj_class, value)
|
||||
self.process_tags(note)
|
||||
|
||||
def process_notes(self, original_obj):
|
||||
""" Find all of the primary objects referred to """
|
||||
|
Loading…
x
Reference in New Issue
Block a user