]> git.koha-community.org Git - koha.git/commit
Bug 18597 - Quick add form does not transfer patron attributes values when switching...
authorNick Clemens <nick@bywatersolutions.com>
Fri, 12 May 2017 14:00:29 +0000 (10:00 -0400)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 21 May 2017 21:23:58 +0000 (23:23 +0200)
commit191a4de9a29305e55b9329a9c222b124ccb6a2e5
treecfc75b3cde30c2364145e4fc454b6d1c584080cc
parent7d0e63da53ab77413d65a7c046417f287744a222
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 <p.thrasher@dover.nh.gov>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 48c87a19a68bf1157c471b8355f5eafe9ec305c1)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt