Bugzilla – Attachment 119383 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: (follow-up) Add atomic update
Bug-15986-follow-up-Add-atomic-update.patch (text/plain), 1.36 KB, created by
Nick Clemens (kidclamp)
on 2021-04-09 14:15:49 UTC
(
hide
)
Description:
Bug 15986: (follow-up) Add atomic update
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-04-09 14:15:49 UTC
Size:
1.36 KB
patch
obsolete
>From 51dab3ffb69cd97329fdfd94506fcb2dcfccabe4 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 9 Apr 2021 14:15:09 +0000 >Subject: [PATCH] Bug 15986: (follow-up) Add atomic update > >--- > .../mysql/atomicupdate/bug_15986_add_holdreminder_notice.perl | 9 +++++++++ > 1 file changed, 9 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_15986_add_holdreminder_notice.perl > >diff --git a/installer/data/mysql/atomicupdate/bug_15986_add_holdreminder_notice.perl b/installer/data/mysql/atomicupdate/bug_15986_add_holdreminder_notice.perl >new file mode 100644 >index 0000000000..3e8ac683a1 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_15986_add_holdreminder_notice.perl >@@ -0,0 +1,9 @@ >+$DBversion = 'XXX'; >+if( CheckVersion( $DBversion ) ) { >+ $dbh->do(q{ >+ INSERT IGNORE INTO letter >+ (module,code,branchcode,name,is_html,title,content,message_transport_type,lang) >+ VALUES ('reserves','HOLD_REMINDER','','Waiting hold reminder',0,'You have waiting holds.','Dear [% borrower.firstname %] [% borrower.surname %],\r\n\r\nThe follwing holds are waiting at [% branch.branchname %]:\r\n\\r\n[% FOREACH hold IN holds %]\r\n [% hold.biblio.title %] : waiting since [% hold.waitingdate %]\r\n[% END %]','email','default') >+ }); >+ NewVersion( $DBversion, 15986, "Add sample HOLD_REMINDER notice"); >+} >-- >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 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