[Koha-bugs] [Bug 31503] Allow several consent types on the consents tab of OPAC account page
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 25 13:32:08 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31503
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #157119|0 |1
is obsolete| |
--- Comment #121 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 157775
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157775&action=edit
Bug 31503: Make opac-patron-consent more generic
Adds $patron->consent and $consents->available_types.
Incorporates them into script/template.
Provides two unit tests.
Note: A follow-up patch helps you test this with an
example plugin.
Test plan:
Run t/db_dependent/Koha/Patron.t
Run t/db_dependent/Koha/Patron/Consents.t
Toggle the value of pref PrivacyPolicyConsent and look at
OPAC account, tab Consents.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list