From 191a4de9a29305e55b9329a9c222b124ccb6a2e5 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 12 May 2017 10:00:29 -0400 Subject: [PATCH] Bug 18597 - Quick add form does not transfer patron attributes values when switching forms/saving The function that switches between quick add/fulll form assumes labels are followed by values - patron_attr don't follow this pattern. This patch just moves the hidden input field To test: 1 - Have some patron attributes (with/without auth values set) 2 - Add them to QuickAddFields (patron_attr2 for example) 3 - view quick add form and set some values 4 - Switch to full form, values not transferred 5 - Switch to quick add, view values, save 6 - Values are not saved :-( 7 - Apply patch 8 - Repeat 3 - 5 9 - Values are transferred and saved :-) Signed-off-by: Peggy Thrasher Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit 48c87a19a68bf1157c471b8355f5eafe9ec305c1) Signed-off-by: Katrin Fischer --- .../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 a66826da92..c05922bf8d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1075,7 +1075,6 @@ $(document).ready(function() { [% FOREACH patron_attribute IN pa_loo.items %]
  • - [% IF ( patron_attribute.use_dropdown ) %] [% END %] + Clear [% IF ( patron_attribute.repeatable ) %] New -- 2.39.5