Bugzilla – Attachment 187704 Details for
Bug 30568
Make patron name fields more flexible
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30568: Correct reference to patron_title in patron-title.inc
Bug-30568-Correct-reference-to-patrontitle-in-patr.patch (text/plain), 1.59 KB, created by
Andrew Fuerste-Henry
on 2025-10-09 19:26:04 UTC
(
hide
)
Description:
Bug 30568: Correct reference to patron_title in patron-title.inc
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2025-10-09 19:26:04 UTC
Size:
1.59 KB
patch
obsolete
>From dd6ba94c551097942da29f8d0269f6b60069a1eb Mon Sep 17 00:00:00 2001 >From: Andrew Fuerste Henry <andrew@bywatersolutions.com> >Date: Thu, 9 Oct 2025 19:21:36 +0000 >Subject: [PATCH] Bug 30568: Correct reference to patron_title in > patron-title.inc > >In the staff interface we set the class for the patron's title (Mr/Mrs/etc) to "patron_title," but we were making it "patron-title" in the OPAC. This patch standardizes them. >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/patron-title.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/patron-title.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/patron-title.inc >index 9b42838c487..af50644c49f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/patron-title.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/patron-title.inc >@@ -2,7 +2,7 @@ > [%- WRAPPER maybe_span field_name = 'surname' -%][%- patron.surname | html -%][%- END -%] > [%- IF patron.othernames -%]([%- WRAPPER maybe_span field_name='othernames' -%][%- patron.othernames | html -%][%- END -%])[%- END -%] > [%- ELSE -%] >- [%- WRAPPER maybe_span field_name='patron-title' -%][%- patron.title _ ' ' | html %][% END -%] >+ [%- WRAPPER maybe_span field_name='patron_title' -%][%- patron.title _ ' ' | html %][% END -%] > [%- WRAPPER maybe_span field_name='preferred_name' -%][%- patron.preferred_name | html %][% END -%] > [%- WRAPPER maybe_span field_name='middle_name' -%][% ' ' _ patron.middle_name | html -%][%- END -%] > [%- WRAPPER maybe_span field_name='surname' -%][% ' ' _ patron.surname | html -%][%- END -%] >-- >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 30568
:
175338
|
175351
|
175365
|
175910
|
175911
|
186504
|
186505
|
187420
|
187421
|
187494
|
187495
|
187659
|
187660
|
187704
|
187740
|
187741
|
187742
|
187743
|
187785
|
187786
|
187787
|
187788
|
188391