7069: Narrated Web Site media pages do not include multiple references

svn: r23148
This commit is contained in:
Doug Blank 2013-09-17 10:35:33 +00:00
parent 42f6070d8c
commit adf9d0dc81

View File

@ -7453,7 +7453,8 @@ class NavWebReport(Report):
self._add_media(media_handle, Citation, citation_handle) self._add_media(media_handle, Citation, citation_handle)
def _add_media(self, media_handle, bkref_class, bkref_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 return
media = self.database.get_object_from_handle(media_handle) media = self.database.get_object_from_handle(media_handle)
media_name = "Media" media_name = "Media"