From adf9d0dc81d0c12ec33e2a5c44804800474f9745 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Tue, 17 Sep 2013 10:35:33 +0000 Subject: [PATCH] 7069: Narrated Web Site media pages do not include multiple references svn: r23148 --- gramps/plugins/webreport/narrativeweb.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/plugins/webreport/narrativeweb.py b/gramps/plugins/webreport/narrativeweb.py index 0c78df46a..32fa6b17b 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -7453,7 +7453,8 @@ class NavWebReport(Report): self._add_media(media_handle, Citation, citation_handle) def _add_media(self, media_handle, bkref_class, bkref_handle): - if self.obj_dict[MediaObject].get(media_handle): + media_refs = self.bkref_dict[MediaObject].get(media_handle) + if media_refs and (bkref_class, bkref_handle) in media_refs: return media = self.database.get_object_from_handle(media_handle) media_name = "Media"