Bug 23538: Email library when new patron self-registers
authorAlex Buckley <alexbuckley@catalyst.net.nz>
Tue, 5 Apr 2022 21:33:12 +0000 (09:33 +1200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 23 Sep 2022 12:37:54 +0000 (09:37 -0300)
commit1c0a187968d961a9ae50955a2baab025fa42ce76
tree13f2b4bcd1f147826861186b4f040aac7411bfa9
parent219ae32c41a24c5de71c7b965dce0b05126d6ec3
Bug 23538: Email library when new patron self-registers

Test plan:
1. Apply all patches
2. Update database
3. Restart services
4. Set email addresses in:
- KohaAdminEmailAddress syspref
- EmailAddressForPatronRegistrations syspref
- Email address in the library branch
5. Enable PatronSelfRegistration syspref
6. Test the following use cases:

- EmailPatronRegistrations syspref = 'none'.
Submit OPAC registration.
= OUTCOME: Confirm no OPAC_REG notice in message_queue table

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Patron.pm
installer/data/mysql/atomicupdate/bug23538-add_EmailPatronRegistrations_and_EmailAddressForPatronRegistrations_sysprefs.pl
installer/data/mysql/en/mandatory/sample_notices.yml
opac/opac-memberentry.pl
opac/opac-registration-verify.pl