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>
This commit is contained in:
Katrin Fischer 2020-05-23 04:41:59 +00:00 committed by Victor Grousset/tuxayo
parent 3c6bd758b8
commit 9b6e78fd24
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,7 @@
<li id="patron-privacyguarantor">
<span class="label">Show checkouts to guarantor</span>
[% IF privacy_guarantor_checkouts %]
[% IF patron.privacy_guarantor_checkouts %]
Yes
[% ELSE %]
No