From b22b66877e7d39d8c19bdf865c07393fcbb9d728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 23 Sep 2014 16:30:55 +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 b66febfbf..cdf8d0800 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -508,11 +508,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):