From 38a8c3e3b146dd51e3c54c6a50a26e415c8de215 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 ae93e83c1..3bb7a6387 100644 --- a/gramps/gen/proxy/referencedbyselection.py +++ b/gramps/gen/proxy/referencedbyselection.py @@ -259,6 +259,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