Bugzilla – Attachment 168573 Details for
Bug 37031
Club enrollment doesn't complete in staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37031: Club enrollment from staff interface fails due to Entrollment typo
Bug-37031-Club-enrollment-from-staff-interface-fai.patch (text/plain), 1.26 KB, created by
Phil Ringnalda
on 2024-07-06 22:45:01 UTC
(
hide
)
Description:
Bug 37031: Club enrollment from staff interface fails due to Entrollment typo
Filename:
MIME Type:
Creator:
Phil Ringnalda
Created:
2024-07-06 22:45:01 UTC
Size:
1.26 KB
patch
obsolete
>From ac67af30636a7449a4532d88f30ac15bb3ca3167 Mon Sep 17 00:00:00 2001 >From: Phil Ringnalda <phil@chetcolibrary.org> >Date: Sat, 6 Jul 2024 15:34:06 -0700 >Subject: [PATCH] Bug 37031: Club enrollment from staff interface fails due to > Entrollment typo > >Having svc/club/enroll try to call Koha::Club::Entrollments->search would >have been great trolling, if only it had been intentional and if only any >of the people signing off had noticed it. > >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 >--- > svc/club/enroll | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/svc/club/enroll b/svc/club/enroll >index 4a49a8f8a9..d2754577e2 100755 >--- a/svc/club/enroll >+++ b/svc/club/enroll >@@ -64,7 +64,7 @@ if ($enrollent_id) { > } > } > } elsif ($club) { >- my $already_enrolled = Koha::Club::Entrollments->search( >+ my $already_enrolled = Koha::Club::Enrollments->search( > { > club_id => $club->id(), > borrowernumber => $borrowernumber, >-- >2.44.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37031
:
168573
|
168643
|
168745