From 4a8a85452f0ab34c289e342bf95dc5623ce85bcd Mon Sep 17 00:00:00 2001 From: nat <139254654+nat-itopie@users.noreply.github.com> Date: Fri, 5 Jan 2024 23:46:12 +0100 Subject: [PATCH 1/2] Fix Computed Extrafields on Contacts list FIX empty $object / $objectoffield in core/tpl/extrafields_list_print_fields.tpl.php for computed extrafields to work contacts list (in addition to #25631 and #27307). --- htdocs/contact/list.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/contact/list.php b/htdocs/contact/list.php index 126b475a665..01f549c10f7 100644 --- a/htdocs/contact/list.php +++ b/htdocs/contact/list.php @@ -1390,6 +1390,8 @@ while ($i < $imaxinloop) { $contactstatic->photo = $obj->photo; $contactstatic->fk_prospectlevel = $obj->fk_prospectlevel; + $object = $contactstatic; + if ($mode == 'kanban') { if ($i == 0) { print ''; From 7a2bf5a20b418d883d47eae98b6eb5849ffa28ce Mon Sep 17 00:00:00 2001 From: nat <139254654+nat-itopie@users.noreply.github.com> Date: Sat, 6 Jan 2024 00:08:56 +0100 Subject: [PATCH 2/2] Fix Computed Extrafields on Member list FIX empty $object / $objectoffield in core/tpl/extrafields_list_print_fields.tpl.php for computed extrafields to work member list (in addition to #25631, #27307, #27308). --- htdocs/adherents/list.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/adherents/list.php b/htdocs/adherents/list.php index 018b023a837..a12c7069922 100644 --- a/htdocs/adherents/list.php +++ b/htdocs/adherents/list.php @@ -1127,6 +1127,8 @@ while ($i < $imaxinloop) { } $memberstatic->company = $companyname; + $object = $memberstatic; + if ($mode == 'kanban') { if ($i == 0) { print '';