Bugzilla – Attachment 69933 Details for
Bug 19797
Subscriptions to email notifications for new serial issues are broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19797: [16.11.x] Restore alert subscribers
Bug-19797-1611x-Restore-alert-subscribers.patch (text/plain), 1.31 KB, created by
Jonathan Druart
on 2017-12-19 20:31:51 UTC
(
hide
)
Description:
Bug 19797: [16.11.x] Restore alert subscribers
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-12-19 20:31:51 UTC
Size:
1.31 KB
patch
obsolete
>From ec49c6180ce4d4d7b03b243154622d3bf353745c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 19 Dec 2017 17:28:00 -0300 >Subject: [PATCH] Bug 19797: [16.11.x] Restore alert subscribers > >This patch fixes a bad conflict between bug 18726 and bug 10357. >The alerttype variable was not passed to the template on 16.11.x > >Test plan: >- Add a subscription >- Make sure you set a notice template for 'notification' on the first page >- Go to the record in the OPAC >- Subscribe to email notifications from the Subscriptions tab > More detail >- Verify that the alert table in the database has the entry for the subscribed patron >- Verify that in the OPAC it now asks you to cancel subscription >--- > opac/opac-alert-subscribe.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/opac/opac-alert-subscribe.pl b/opac/opac-alert-subscribe.pl >index 86a72fe32c..366d9e6d47 100755 >--- a/opac/opac-alert-subscribe.pl >+++ b/opac/opac-alert-subscribe.pl >@@ -78,6 +78,7 @@ else { > my $subscription = &GetSubscription($externalid); > $template->param( > "typeissue$op" => 1, >+ alerttype => $alerttype, > bibliotitle => $subscription->{bibliotitle}, > notes => $subscription->{notes}, > externalid => $externalid, >-- >2.11.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 19797
:
69933
|
72270