Bugzilla – Attachment 118736 Details for
Bug 15986
Add a script for sending hold waiting reminder notices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15986: (QA follow-up) Account for bugs 25333 and 25334
Bug-15986-QA-follow-up-Account-for-bugs-25333-and-.patch (text/plain), 1.60 KB, created by
Martin Renvoize (ashimema)
on 2021-03-24 11:46:29 UTC
(
hide
)
Description:
Bug 15986: (QA follow-up) Account for bugs 25333 and 25334
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-03-24 11:46:29 UTC
Size:
1.60 KB
patch
obsolete
>From 29ecb276369f8a5b37ccec921d04c825d7814322 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 24 Mar 2021 11:40:09 +0000 >Subject: [PATCH] Bug 15986: (QA follow-up) Account for bugs 25333 and 25334 > >Bug 25333 changed the existing 'phone' message transport type to 'itiva' and >bug 25334 added a new 'phone' message transport type. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/Patron.pm | 11 +++++++---- > 1 file changed, 7 insertions(+), 4 deletions(-) > >diff --git a/Koha/Patron.pm b/Koha/Patron.pm >index c81911b15e..a10a8a21a7 100644 >--- a/Koha/Patron.pm >+++ b/Koha/Patron.pm >@@ -1841,10 +1841,13 @@ sub queue_notice { > my $print_sent = 0; > my %return; > foreach my $mtt (@message_transports){ >- next if ($mtt eq 'phone' and C4::Context->preference('TalkingTechItivaPhoneNotification') ); >- # Phone notices are handled by TalkingTech_itiva_outbound.pl >- if( ($mtt eq 'email' and not $self->notice_email_address) or ($mtt eq 'sms' and not $self->smsalertnumber) ){ >- push @{$return{fallback}}, $mtt; >+ next if ($mtt eq 'itiva' and C4::Context->preference('TalkingTechItivaPhoneNotification') ); >+ # Notice is handled by TalkingTech_itiva_outbound.pl >+ if ( ( $mtt eq 'email' and not $self->notice_email_address ) >+ or ( $mtt eq 'sms' and not $self->smsalertnumber ) >+ or ( $mtt eq 'phone' and not $self->phone ) ) >+ { >+ push @{ $return{fallback} }, $mtt; > $mtt = 'print'; > } > next if $mtt eq 'print' && $print_sent; >-- >2.20.1
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 15986
:
53323
|
53354
|
53594
|
55723
|
91767
|
91768
|
99919
|
102723
|
102926
|
106962
|
106963
|
106964
|
112999
|
113000
|
113001
|
118733
|
118734
|
118735
| 118736 |
118737
|
119277
|
119308
|
119327
|
119328
|
119329
|
119383
|
119384
|
119386
|
119624
|
119725
|
119748
|
120224