Bug 12698 - If user changes home library in Opac change is not visible in staff client
authorMarc Véron <veron@veron.ch>
Mon, 21 Jul 2014 18:03:01 +0000 (20:03 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 8 Sep 2014 16:03:30 +0000 (13:03 -0300)
To test:
- Set opacuserlogin and OPACPatronDetails to allow
- Log in to OPAC, go to 'your personal details'
- Change Home library
- Go to staff client: Patrons requesting modifications (/cgi-bin/koha/members/members-update.pl)
- Without patch, you do not see the change request, but can Approve, Deny or Ignore it
- With patch, you see the change request, indicating the Home library (branchcode)

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
I "slightly" rewrote the patch so it applies on current master.

koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt

index 0e907d7..9231ef7 100644 (file)
@@ -13,6 +13,7 @@
 
 [% BLOCK display_names %]
 [% SWITCH field %]
+[% CASE 'branchcode'          %]<span>Home library (branchcode)</span>
 [% CASE 'surname'             %]<span>Surname</span>
 [% CASE 'firstname'           %]<span>First name</span>
 [% CASE 'title'               %]<span>Title</span>