Skip to content

Commit

Permalink
B13272 and B13252: missing medias in person pages
Browse files Browse the repository at this point in the history
Fixes #13252, #13272
  • Loading branch information
SNoiraud committed May 1, 2024
1 parent 2246ab8 commit 254592d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gramps/plugins/webreport/basepage.py
Original file line number Diff line number Diff line change
Expand Up @@ -2430,7 +2430,7 @@ def disp_add_img_as_gallery(self, photolist, object_):
if "image" in mime_type:
self.max_img += 1
photolist_ordered = []
for photoref in copy.copy(object_.get_media_list()):
for photoref in copy.copy(photolist):
if photoref.ref in photolist_handles:
photo = photolist_handles[photoref.ref]
photolist_ordered.append(photo)
Expand Down

0 comments on commit 254592d

Please sign in to comment.