Bugzilla – Attachment 17163 Details for
Bug 9981
Sort1 not automatically cleared when duplicating a patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9981: Handle sort1 field when duplicating patron
Bug-9981-Handle-sort1-field-when-duplicating-patro.patch (text/plain), 1.78 KB, created by
Jared Camins-Esakov
on 2013-04-03 11:14:47 UTC
(
hide
)
Description:
Bug 9981: Handle sort1 field when duplicating patron
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2013-04-03 11:14:47 UTC
Size:
1.78 KB
patch
obsolete
>From b4c3062c3a108cfb47a1d466e4736ffa1b4d9afa Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 26 Mar 2013 10:19:58 -0400 >Subject: [PATCH] Bug 9981: Handle sort1 field when duplicating patron > >It is noted in Bug 5432 that during a duplicate operation one field, >'Sort1' does not automatically clear when the cursor moves into it. This >patch corrects this. > >Edit a patron record to have data in the Sort1 and Sort2 fields. Perform >a duplicate operation on this patron and confirm that the Sort1 and >Sort2 fields show the information from the original patron record. When >you click on each field the contents should disappear. > >Signed-off-by: David Cook <dcook@prosentient.com.au> > >Works as described. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > .../prog/en/modules/members/memberentrygen.tt | 6 +++++- > 1 file changed, 5 insertions(+), 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 6651e34..3843c56 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -1046,7 +1046,11 @@ > [% IF ( CGIsort1 ) %] > [% CGIsort1 %] > [% ELSE %] >- <input type="text" id="sort1" name="sort1" size="20" value="[% sort1 %]" /> >+ [% IF ( opduplicate ) %] >+ <input type="text" id="sort1" name="sort1" size="20" value="[% sort1 %]" onclick="this.value=''" /> >+ [% ELSE %] >+ <input type="text" id="sort1" name="sort1" size="20" value="[% sort1 %]" /> >+ [% END %] > [% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %] > [% END %] > </li> >-- >1.7.9.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 9981
: 17163