From 26560d0590597b2b88464bbb5d3e5346b43f803f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 23 Sep 2014 16:33:33 +0200 Subject: [PATCH] 8033: cannot generate Narrative Web report with gendex option enabled, was previous place model (location fields) --- gramps/plugins/webreport/narrativeweb.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gramps/plugins/webreport/narrativeweb.py b/gramps/plugins/webreport/narrativeweb.py index 3fe6c74eb..b31942043 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -507,11 +507,7 @@ def get_gendex_data(database, event_ref): if place_handle: place = database.get_place_from_handle(place_handle) if place: - location = get_main_location(self.dbase_, place) - poe = ", ".join(l for l in [ - location.get(PlaceType.CITY, '').strip(), - location.get(PlaceType.STATE, '').strip(), - location.get(PlaceType.COUNTRY, '').strip()] if l) + poe = place.get_title() return doe, poe def format_date(date):