When using the quick add patron option in koha 16.11 : If a library has cities and towns pre-populated in a drop down list and has added this field into the quick add patron form this information will not copy into the full patron form after saving.
Created attachment 63442 [details] [review] Bug 18569 - Quick add patron will not copy over details from cities and towns pull down into patron details As the quick add form is created dynamically we must alter the function that updates there fields to use a selector so it is not bound on the intial elements To test: 1 - Add city field to QuickAddFields 2 - Define some cities in Admin->Cities and towns 3 - Test using the dropdown in uqick add form 4 - Nothing happens 5 - Switch to full form 6 - use cities dropdown 7 - it works 8 - switch to quick add form 9 - dropdown is not updated 10 - Apply patch 11 - Things should now update correctly on both forms and update when switching forms
Created attachment 63494 [details] [review] Bug 18569 - Quick add patron will not copy over details from cities and towns pull down into patron details Followed test plan and the city value updates in the quick add form correctly. Signed-off-by: Dilan Johnpulle <dilan@calyx.net.au>
Created attachment 63580 [details] [review] Bug 18569 - Quick add patron will not copy over details from cities and towns pull down into patron details Followed test plan and the city value updates in the quick add form correctly. Signed-off-by: Dilan Johnpulle <dilan@calyx.net.au> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Pushed to master for 17.05, thanks Nick!
This patch has been pushed to 16.11.x and will be in 16.11.09.
Pushed to 16.05.x, for 16.05.15 release