]> git.koha-community.org Git - koha.git/commit
Bug 20805: Update child to adult patron process broken on several patron-related...
authorOwen Leonard <oleonard@myacpl.org>
Wed, 23 May 2018 12:43:55 +0000 (12:43 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Sun, 15 Jul 2018 20:34:18 +0000 (21:34 +0100)
commita277da701d8250907afa5ed69447236a78f65ad8
tree9929a2e9ea792953a92a601635196266d583697f
parent49db39c060163c3d46de4eff283919cc9af30a97
Bug 20805: Update child to adult patron process broken on several patron-related pages

This patch fixes a problem with several patron-related pages, where the
"Update child to adult patron" menu item doesn't work. With some pages,
the right category information wasn't being passed from the script to
the template. With some, the right JavaScript variable weren't being
passed from the template to the included JavaScript file.

To test, apply the patch locate some patrons with "child" type patron
categories. With each patron, go to one of the following pages and test
the "update child" process in the toolbar's "More" menu.

 - Circulation ->
   - Batch check out
   - Notices
   - Statistics
   - Files
   - Housebound
   - Delete (test from the deletion confirmation screen).

All test should be performed on a system with multiple adult patron
categories configured AND on a system with only a single adult patron
category.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt
members/deletemem.pl
members/files.pl
members/housebound.pl
members/notices.pl
members/statistics.pl