From ae0d137436c41b66fe975f3f0c0ed39f710b8df5 Mon Sep 17 00:00:00 2001 From: Owen Leonard 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 Works as described. Signed-off-by: Jonathan Druart Signed-off-by: Jared Camins-Esakov --- .../intranet-tmpl/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 6651e34a2b..3843c5671b 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 %] - + [% IF ( opduplicate ) %] + + [% ELSE %] + + [% END %] [% IF ( mandatorysort1 ) %]Required[% END %] [% END %] -- 2.39.5