Bugzilla – Attachment 157454 Details for
Bug 8838
Digest option for HOLD notice
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8838: Add SMS default/sample notices
Bug-8838-Add-SMS-defaultsample-notices.patch (text/plain), 3.24 KB, created by
Emily Lamancusa (emlam)
on 2023-10-19 14:21:24 UTC
(
hide
)
Description:
Bug 8838: Add SMS default/sample notices
Filename:
MIME Type:
Creator:
Emily Lamancusa (emlam)
Created:
2023-10-19 14:21:24 UTC
Size:
3.24 KB
patch
obsolete
>From ae65e9b6332a6003be43c77bc717599e8d13d348 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 18 Oct 2023 22:31:13 +0000 >Subject: [PATCH] Bug 8838: Add SMS default/sample notices > >--- > installer/data/mysql/atomicupdate/bug_8838.pl | 7 ++++++- > .../data/mysql/en/mandatory/sample_notices.yml | 15 +++++++++++++++ > 2 files changed, 21 insertions(+), 1 deletion(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_8838.pl b/installer/data/mysql/atomicupdate/bug_8838.pl >index 4f3c6698f8..1bcd37e2e3 100755 >--- a/installer/data/mysql/atomicupdate/bug_8838.pl >+++ b/installer/data/mysql/atomicupdate/bug_8838.pl >@@ -9,10 +9,15 @@ return { > > $dbh->do( > q{ >- INSERT IGNORE INTO `letter` VALUES (NULL,'reserves','HOLDDGST','','Hold available for pickup (digest)',0,'Hold(s) available for pickup','You have one or more holds available for pickup:\r\n----\r\nTitle: [% hold.biblio.title %]\r\nAuthor: [% hold.biblio.author %]\r\nCopy: [% hold.item.copynumber %]\r\nLocation: [% hold.branch.branchname %]\r\nWaiting since: [% hold.waitingdate %]\r\n[% hold.branch.branchaddress1 %]\r\n[% hold.branch.branchaddress2 %]\r\n[% hold.branch.branchaddress3 %]\r\n[% hold.branch.branchcity %] [% hold.branch.branchzip %]\r\n----','email','default','2023-08-29 18:42:15'); >+ INSERT IGNORE INTO `letter` VALUES (NULL,'reserves','HOLDDGST','','Hold available for pickup (digest)',0,'Hold(s) available for pickup','You have one or more holds available for pickup:\r\n\r\n----\r\nTitle: [% hold.biblio.title %]\r\nAuthor: [% hold.biblio.author %]\r\nCopy: [% hold.item.copynumber %]\r\nLocation: [% hold.branch.branchname %]\r\nWaiting since: [% hold.waitingdate %]\r\n[% hold.branch.branchaddress1 %]\r\n[% hold.branch.branchaddress2 %]\r\n[% hold.branch.branchaddress3 %]\r\n[% hold.branch.branchcity %] [% hold.branch.branchzip %]\r\n----','email','default','2023-08-29 18:42:15'); > } > ); > >+ $dbh->do( >+ q{ >+ INSERT IGNORE INTO `letter` VALUES (NULL,'reserves','HOLDDGST','','Hold available for pickup (digest)',0,'Hold(s) available for pickup','You have one or more holds available for pickup:\r\n----\r\n[% hold.biblio.title %]\r\n----','sms','default','2023-08-29 18:42:15'); >+ } >+ ); > $dbh->do( > q{ > INSERT IGNORE INTO message_transports VALUES >diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml >index 3105ef3519..1bcf4e7afb 100644 >--- a/installer/data/mysql/en/mandatory/sample_notices.yml >+++ b/installer/data/mysql/en/mandatory/sample_notices.yml >@@ -1814,6 +1814,21 @@ tables: > - "----" > - "Thank you!" > >+ - module: reserves >+ code: HOLDDGST >+ branchcode: "" >+ name: "Hold(s) available for pickup" >+ is_html: 0 >+ title: "Hold(s) available for pickup" >+ message_transport_type: sms >+ lang: default >+ content: >+ - "You have one or more holds available for pickup:" >+ - "" >+ - "----" >+ - "Title: [% hold.biblio.title %]" >+ - "----" >+ > - module: reserves > code: HOLD > branchcode: "" >-- >2.30.2
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 8838
:
154947
|
154948
|
154950
|
154959
|
154969
|
155415
|
155487
|
155488
|
155489
|
155490
|
155504
|
155505
|
155506
|
155507
|
157360
|
157361
|
157450
|
157451
|
157452
|
157453
|
157454
|
157455
|
157456
|
157457
|
157459
|
157460
|
157461
|
157462