From 6fc4d1f536ea27d63cf35e5c6dd99aecfb673207 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sat, 15 Aug 2015 19:03:40 +0100 Subject: [PATCH] 8842: Fix proxy to include all referenced place objects The referenced by selection proxy needs to include places that enclose referenced places. --- gramps/gen/proxy/referencedbyselection.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gramps/gen/proxy/referencedbyselection.py b/gramps/gen/proxy/referencedbyselection.py index 50b4d4f03..0b0928699 100644 --- a/gramps/gen/proxy/referencedbyselection.py +++ b/gramps/gen/proxy/referencedbyselection.py @@ -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