diff --git a/gramps/plugins/view/geoevents.py b/gramps/plugins/view/geoevents.py index c2ae6a6bc..8359136ad 100644 --- a/gramps/plugins/view/geoevents.py +++ b/gramps/plugins/view/geoevents.py @@ -299,7 +299,8 @@ class GeoEvents(GeoGraphyView): progress.step() progress.close() elif self.generic_filter: - events_list = self.generic_filter.apply(dbstate.db) + user=self.uistate.viewmanager.user + events_list = self.generic_filter.apply(dbstate.db, user=user) progress = ProgressMeter(self.window_name, can_cancel=False, parent=self.uistate.window) diff --git a/gramps/plugins/view/geoplaces.py b/gramps/plugins/view/geoplaces.py index 7f94c4423..ee1e787ea 100644 --- a/gramps/plugins/view/geoplaces.py +++ b/gramps/plugins/view/geoplaces.py @@ -349,7 +349,8 @@ class GeoPlaces(GeoGraphyView): progress.step() progress.close() elif self.generic_filter: - place_list = self.generic_filter.apply(dbstate.db) + user=self.uistate.viewmanager.user + place_list = self.generic_filter.apply(dbstate.db, user=user) progress = ProgressMeter(self.window_name, can_cancel=False, parent=self.uistate.window)