From 254592df55c4788ccaa2e1a35476de05986d3750 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Wed, 1 May 2024 18:26:34 +0200 Subject: [PATCH] B13272 and B13252: missing medias in person pages Fixes #13252, #13272 --- gramps/plugins/webreport/basepage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/webreport/basepage.py b/gramps/plugins/webreport/basepage.py index bbae7d08365..2f9c2f02c9a 100644 --- a/gramps/plugins/webreport/basepage.py +++ b/gramps/plugins/webreport/basepage.py @@ -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)