Bugzilla – Attachment 185745 Details for
Bug 40699
Preferred name not displayed for instructors in course reserves in staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40699: Use patron-title for course reserve instructor
Bug-40699-Use-patron-title-for-course-reserve-inst.patch (text/plain), 1.71 KB, created by
Andrew Fuerste-Henry
on 2025-08-25 14:43:17 UTC
(
hide
)
Description:
Bug 40699: Use patron-title for course reserve instructor
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2025-08-25 14:43:17 UTC
Size:
1.71 KB
patch
obsolete
>From afd6c4d733c399f681618cf46520725d4b0b6163 Mon Sep 17 00:00:00 2001 >From: Andrew Fuerste Henry <andrew@bywatersolutions.com> >Date: Mon, 25 Aug 2025 14:41:05 +0000 >Subject: [PATCH] Bug 40699: Use patron-title for course reserve instructor > >To test: >1 - have or make a course reserves course with an instructor >2 - give your instructor a preferred name, confirm the course shows their firstname instead >3 - apply patch, reload page >4 - confirm course now shows their preferred_name instead >5 - edit the patron to remove the preferred name, confirm course shows first name again >--- > .../prog/en/modules/course_reserves/course-details.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >index 3ca71955fb2..f0002c63139 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >@@ -114,7 +114,7 @@ > <div id="instructors"> > [% FOREACH i IN course.instructors %] > <div class="instructor_line"> >- <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% i.borrowernumber | uri %]">[% i.firstname | html %] [% i.surname | html %]</a> >+ <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% i.borrowernumber | uri %]">[% INCLUDE 'patron-title.inc' patron=i no_cardnumber=1 %]</a> > </div> > [% END %] > </div> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40699
:
185745
|
186233
|
187472