Bugzilla – Attachment 177916 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.02 KB, created by
Jonathan Druart
on 2025-02-12 14:08:43 UTC
(
hide
)
Description:
Bug 39056: Do not copy preferred_name to new patron when using Duplicate
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-02-12 14:08:43 UTC
Size:
2.02 KB
patch
obsolete
>From d07273b38970925e8a11927db88b88c761e6c8ea 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 f281e9b61cd..ed31a0c0472 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -383,7 +383,7 @@ > [% UNLESS nopreferred_name %] > <li> > <label for="preferred_name" [% IF mandatorypreferred_name %]class="required"[% 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