Bug 24353: [19.05] Correct display of privacy_guarantor_checkouts on moremember.pl
authorKatrin Fischer <katrin.fischer.83@web.de>
Sat, 23 May 2020 04:41:59 +0000 (04:41 +0000)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Sun, 5 Jul 2020 02:35:35 +0000 (04:35 +0200)
commit9b6e78fd249a561cef762193b6cf8cccb12da558
tree14ecdbcb2363399850ebe035f0f0c6ba4875a325
parent3c6bd758b8b812afc0c43c4907d82f6d4fae9aac
Bug 24353: [19.05] Correct display of privacy_guarantor_checkouts on moremember.pl

The variable for 'Show checkouts to guarantor' was incorrect so
it would always show as 'No' on the Details tab in the patron
account in staff.

To test:
- find/create a patron with a guarantor
- Set AllowStaffToSetCheckoutsVisibilityForGuarantor and AllowPatronToSetCheckoutsVisibilityForGuarantor to Allow
- Edit patron to set Show Checkouts to Guarantor to Yes
- Confirm patron incorrectly shows "No" on moremember.pl (Details tab)
- Apply patch
- Confirm the display changes to "Yes"
- Change the value to "No" in the patron record
- Verify that the display changed accordingly

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com>

RMaint: pushed to 19.05.x
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt