From 9f1b9fe93e3cb2495e9d5568683a0c67918fb9c0 Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Thu, 11 Feb 2010 17:24:46 +0000 Subject: [PATCH] GeoView : Allow all events in the person view. Add a comment about filtering when no places selected. svn: r14322 --- src/plugins/view/geoview.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/plugins/view/geoview.py b/src/plugins/view/geoview.py index ec6140d34..8cd05a0e3 100644 --- a/src/plugins/view/geoview.py +++ b/src/plugins/view/geoview.py @@ -1914,9 +1914,6 @@ class GeoView(HtmlView): for event_ref in person.get_event_ref_list(): if not event_ref: continue - if event_ref.role != gen.lib.EventRoleType.PRIMARY: - # Only match primaries, no witnesses - continue event = dbstate.db.get_event_from_handle(event_ref.ref) eventyear = event.get_date_object().to_calendar(self.cal).get_year() place_handle = event.get_place_handle() @@ -1959,6 +1956,7 @@ class GeoView(HtmlView): page = self._create_message_page( _("Cannot center the map. No location with coordinates." "The following reasons are :