Bugzilla – Attachment 177637 Details for
Bug 39056
Do not copy preferred_name to new patron when using Duplicate
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39056: Do not copy preferred_name to new patron when using Duplicate
Bug-39056-Do-not-copy-preferredname-to-new-patron-.patch (text/plain), 2.00 KB, created by
Emily Lamancusa (emlam)
on 2025-02-07 15:54:05 UTC
(
hide
)
Description:
Bug 39056: Do not copy preferred_name to new patron when using Duplicate
Filename:
MIME Type:
Creator:
Emily Lamancusa (emlam)
Created:
2025-02-07 15:54:05 UTC
Size:
2.00 KB
patch
obsolete
>From a2d9ffbe88f941ff8f5c4f3788f226577a6ac986 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 6 Feb 2025 19:24:48 +0000 >Subject: [PATCH] Bug 39056: Do not copy preferred_name to new patron when > using Duplicate > >It looks like this was a type/copy paste error, template fixed > >To test: >1 - Find a patron, ensure preferred_name is populated >2 - Duplicate >3 - Note preferred_name is carried over >4 - Apply patch >5 - Cancel and duplicate again >6 - Preferred name is blank! > >Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> >Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> >--- > .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index 27f7d0e0f2f..4f8d864690f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -386,7 +386,7 @@ legend.collapsed i.fa.fa-caret-down::before { > [% END %] > Preferred name: > </label> >- <input type="text" id="preferred_name" name="preferred_name" size="20" value="[% borrower_data.preferred_name | html UNLESS opduplicate %]" /> >+ <input type="text" id="preferred_name" name="preferred_name" size="20" value="[% borrower_data.preferred_name | html UNLESS op == 'duplicate' %]" /> > [% IF ( mandatorypreferred_name ) %] > <span class="required">Required</span> > [% END %] >-- >2.34.1
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 39056
:
177592
|
177594
| 177637 |
177916