diff --git a/gramps/plugins/textreport/placereport.py b/gramps/plugins/textreport/placereport.py index 548c1901d..18382424d 100644 --- a/gramps/plugins/textreport/placereport.py +++ b/gramps/plugins/textreport/placereport.py @@ -179,7 +179,7 @@ class PlaceReport(Report): This procedure writes out each of the events related to the place """ event_handles = [event_handle for (object_type, event_handle) in - self.database.find_backlink_handles(handle,['Event'])] + self.database.find_backlink_handles(handle, ['Event'])] event_handles.sort(key=self.sort.by_date_key) if event_handles: @@ -257,7 +257,7 @@ class PlaceReport(Report): This procedure writes out each of the people related to the place """ event_handles = [event_handle for (object_type, event_handle) in - self.database.find_backlink_handles(handle)] + self.database.find_backlink_handles(handle, ['Event'])] if event_handles: self.doc.start_paragraph("PLC-Section")