8842: Fix proxy to include all referenced place objects

The referenced by selection proxy needs to include places that
enclose referenced places.
This commit is contained in:
Nick Hall 2015-08-15 19:03:40 +01:00
parent 98409ca194
commit 6fc4d1f536

View File

@ -340,6 +340,11 @@ class ReferencedBySelectionProxyDb(ProxyDbBase):
self.process_media_ref_list(place)
self.process_urls(place)
for placeref in place.get_placeref_list():
place = self.db.get_place_from_handle(placeref.ref)
if place:
self.process_place(place)
def process_source(self, source):
"""
Follow the source object and find all of the primary objects