Bug 22646: Fix use of PrivacyPolicyURL
authorMagnus Enger <magnus@libriotech.no>
Fri, 5 Apr 2019 08:03:58 +0000 (10:03 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 10 Apr 2019 20:10:55 +0000 (20:10 +0000)
commit35921d30a99f3f4c4cdb21438c8516444a10f24c
treebe6771a55e2efbc1df3861a990757470afa06b60
parentea7245631ebfb16d4921a6cf7b4b46799a241ff9
Bug 22646: Fix use of PrivacyPolicyURL

To test:

PatronSelfRegistration = Allow
PatronSelfRegistrationDefaultCategory = PT (or some other real category)
GDPR_Policy = Enforced
PrivacyPolicyURL = Some URL

- Go to <opac>/cgi-bin/koha/opac-memberentry.pl and verify that the text "privacy
  policy" displays a link to the current page, not the URL in PrivacyPolicyURL
- Go to Administration > System preferences > Patrons > Privacy
- Verify that the descriptions of GDPR_Policy and PrivacyPolicyURL does not
  mention that PrivacyPolicyURL needs to be set if GDPR_Policy is set.
- Apply the patch
- Verify that opac-memberentry.pl now links to the URL in PrivacyPolicyURL
- Verify that the syspref descriptions mention the relationship between them

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Bin Wen <bin.wen@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt