Bugzilla – Attachment 193599 Details for
Bug 30295
Send a notification when a recall is manually canceled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30295: Use blessed patron to enqueue notice and QA fixes
103d67a.patch (text/plain), 2.49 KB, created by
David Nind
on 2026-02-22 00:22:10 UTC
(
hide
)
Description:
Bug 30295: Use blessed patron to enqueue notice and QA fixes
Filename:
MIME Type:
Creator:
David Nind
Created:
2026-02-22 00:22:10 UTC
Size:
2.49 KB
patch
obsolete
>From 103d67a3431f89d8088495fe6a79cdb92e6f2057 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Thu, 7 Sep 2023 23:10:09 +0000 >Subject: [PATCH] Bug 30295: Use blessed patron to enqueue notice and QA fixes > >Signed-off-by: Stina Hallin <stina.hallin@ub.lu.se> >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >Signed-off-by: David Nind <david@davidnind.com> >--- > Koha/Recall.pm | 4 ++-- > .../bug_30295-add_RECALL_MANUAL_CANCEL_message_attributes.pl | 0 > .../bug_30295-add_RECALL_MANUAL_CANCEL_message_transports.pl | 0 > .../atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_notice.pl | 0 > 4 files changed, 2 insertions(+), 2 deletions(-) > mode change 100644 => 100755 installer/data/mysql/atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_message_attributes.pl > mode change 100644 => 100755 installer/data/mysql/atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_message_transports.pl > mode change 100644 => 100755 installer/data/mysql/atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_notice.pl > >diff --git a/Koha/Recall.pm b/Koha/Recall.pm >index 57ec6dcd2e..7b2f88c5a3 100644 >--- a/Koha/Recall.pm >+++ b/Koha/Recall.pm >@@ -488,10 +488,10 @@ sub set_cancelled { > { borrowernumber => $self->patron_id, message_name => 'Recall_Cancelled' } ); > while ( my ( $transport, $letter_code ) = each %{ $messaging_preferences->{transports} } ) { > if ( $transport eq 'email' ) { >- C4::Message->enqueue( $letter, $self->patron->unblessed, 'email' ); >+ C4::Message->enqueue( $letter, $self->patron, 'email' ); > } > if ( $transport eq 'sms' ) { >- C4::Message->enqueue( $letter, $self->patron->unblessed, 'sms' ); >+ C4::Message->enqueue( $letter, $self->patron, 'sms' ); > } > } > >diff --git a/installer/data/mysql/atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_message_attributes.pl b/installer/data/mysql/atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_message_attributes.pl >old mode 100644 >new mode 100755 >diff --git a/installer/data/mysql/atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_message_transports.pl b/installer/data/mysql/atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_message_transports.pl >old mode 100644 >new mode 100755 >diff --git a/installer/data/mysql/atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_notice.pl b/installer/data/mysql/atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_notice.pl >old mode 100644 >new mode 100755 >-- >2.39.5 >
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 30295
:
131763
|
140243
|
140245
|
147108
|
148114
|
149127
|
150431
|
155347
|
155358
|
158699
|
158700
|
158701
|
159007
|
159008
|
159009
|
172038
|
172039
|
172041
|
186346
|
186347
|
186348
|
192078
|
192079
|
192080
|
192081
|
192082
|
192083
|
192084
|
193598
| 193599 |
193600
|
193601
|
193602
|
193603
|
193604