From 17572d819d270ea1d3fbd4fc56e8c89ec601b8b0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 6 Oct 2025 14:31:19 +0200 Subject: [PATCH] Bug 40699: Correctly format patron everywhere in course reserves --- .../prog/en/modules/course_reserves/course-reserves.tt | 2 +- .../prog/en/modules/course_reserves/course.tt | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt index 24e8ba6a401..a13e0f73ca5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt @@ -71,7 +71,7 @@ [% AuthorisedValues.GetByCode( 'TERM' c.term ) | html %] [% FOREACH i IN c.instructors %] -
[% i.firstname | html %] [% i.surname | html %]
+
[% INCLUDE 'patron-title.inc' patron=i no_cardnumber=1 %]
[% END %] [% c.staff_note | html %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt index d61e2d08c73..d0ae81c4026 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt @@ -131,8 +131,8 @@
[% FOREACH i IN instructors %] -
[% i.surname | html %], [% i.firstname | html %] ( Remove ) +
+ [% INCLUDE 'patron-title.inc' patron=i no_cardnumber=1 %] ( Remove )
[% END %] @@ -195,11 +195,12 @@ [% IF ( departments ) %] [% MACRO jsinclude BLOCK %] + [% INCLUDE 'js-patron-format.inc' %]