]> git.koha-community.org Git - koha.git/commit
Bug 37031: Club enrollment from staff interface fails due to Entrollment typo
authorPhil Ringnalda <phil@chetcolibrary.org>
Sat, 6 Jul 2024 22:34:06 +0000 (15:34 -0700)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 19 Jul 2024 07:30:41 +0000 (09:30 +0200)
commiteb9cd780617c535bb7359af000db97cd7722d4f2
tree46e4d67b72ea6ef82d247ede67a2b8af02a8ba00
parent013cda40de12acc3488677139c44d3532cd63f68
Bug 37031: Club enrollment from staff interface fails due to Entrollment typo

There is a typo in svc/club/enroll - it tries to call
Koha::Club::Entrollments->search when it should be
Koha::Club::Enrollments. This causes and error when
enrolling patrons in clubs.

Test plan:
1. Without the patch, Tools - Patron clubs - New club template - name it
   and save
2. New club - (your template) - name it and save
3. Circulation - check out to a patron - Clubs tab - Enroll - Finish
   enrollment, get alert() about failure to enroll
4. Apply patch, restart_all
5. Enroll - Finish enrollment, success

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit f02d90938dbe0ff8efd43cad23abb066d5642d51)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 0aa348b665769f931a81c954afb07d9d44678453)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
svc/club/enroll