]> git.koha-community.org Git - koha.git/commit
Bug 32426: Changes for opac-memberentry
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 15 Dec 2022 15:03:47 +0000 (16:03 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 27 Mar 2023 10:49:52 +0000 (12:49 +0200)
commit5fd51573a5dea1422b6c8fe2857541c8d59d1b0c
treebce4565bdfeb03413c70e1b935c3048e2e20b2a7
parent6b2e92e576a502876e9de5ffbd418b1d48603c76
Bug 32426: Changes for opac-memberentry

Test plan:
Enable self registration, pick a default category too for it.
The changes will be tested later with a plugin, but now change
Koha/Patron.pm as follows:
 sub _generate_userid_legacy { # as we always did
     my ($self) = @_;
+return $self;
So, add the return $self line only.
Restart all. Try to register an account on OPAC.
You should see an alert about problems processing your registration.
Undo the change in Patron.pm and restart all.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt
opac/opac-memberentry.pl