7069: Narrated Web Site media pages do not include multiple references
svn: r23146
This commit is contained in:
parent
cfa5386bfb
commit
5cbcfbbc56
@ -7466,7 +7466,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"
|
||||||
|
Loading…
Reference in New Issue
Block a user