diff --git a/gramps/gen/proxy/private.py b/gramps/gen/proxy/private.py index 1a8c77f9b37..9e0c8d18da1 100644 --- a/gramps/gen/proxy/private.py +++ b/gramps/gen/proxy/private.py @@ -830,6 +830,7 @@ def sanitize_event_ref(db, event_ref): new_ref.set_reference_handle(event_ref.get_reference_handle()) new_ref.set_role(event_ref.get_role()) + copy_citation_ref_list(db, event_ref, new_ref) copy_notes(db, event_ref, new_ref) copy_attributes(db, event_ref, new_ref) diff --git a/gramps/plugins/webreport/narrativeweb.py b/gramps/plugins/webreport/narrativeweb.py index dfff24de9da..e07090b03e2 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -180,7 +180,7 @@ def __init__(self, database, options, user): stdoptions.run_private_data_option(self, menu) stdoptions.run_living_people_option(self, menu) - self.database = CacheProxyDb(database) + self.database = CacheProxyDb(self.database) self._db = self.database filters_option = menu.get_option_by_name("filter")