Bugzilla – Attachment 165593 Details for
Bug 23781
Recalls notices and messaging preferences
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23781 (follow-up): Reorder atomic updates
Bug-23781-follow-up-Reorder-atomic-updates.patch (text/plain), 2.59 KB, created by
Aleisha Amohia
on 2024-04-26 02:20:15 UTC
(
hide
)
Description:
Bug 23781 (follow-up): Reorder atomic updates
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2024-04-26 02:20:15 UTC
Size:
2.59 KB
patch
obsolete
>From 2765d6e6909de76ad33daf3717daccdc751d6cba Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Fri, 26 Apr 2024 02:19:27 +0000 >Subject: [PATCH] Bug 23781 (follow-up): Reorder atomic updates > >so they apply when run the first time. >--- > .../mysql/atomicupdate/bug_23781-recalls_sms_notices.pl | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_23781-recalls_sms_notices.pl b/installer/data/mysql/atomicupdate/bug_23781-recalls_sms_notices.pl >index 87c8dc2643d..4a56684c8ac 100755 >--- a/installer/data/mysql/atomicupdate/bug_23781-recalls_sms_notices.pl >+++ b/installer/data/mysql/atomicupdate/bug_23781-recalls_sms_notices.pl >@@ -14,15 +14,15 @@ return { > say $out "Added recalls SMS notices: RETURN_RECALLED_ITEM, PICKUP_RECALLED_ITEM"; > > $dbh->do( >- q{ INSERT IGNORE INTO message_transports (message_attribute_id, message_transport_type, is_digest, letter_module, letter_code, branchcode) VALUES (12, "email", 0, "circulation", "PICKUP_RECALLED_ITEM", null), (12, "sms", 0, "circulation", "PICKUP_RECALLED_ITEM", null), (12, "phone", 0, "circulation", "PICKUP_RECALLED_ITEM", null), (13, "email", 0, "circulation", "RETURN_RECALLED_ITEM", null), (13, "sms", 0, "circulation", "RETURN_RECALLED_ITEM", null), (13, "phone", 0, "circulation", "RETURN_RECALLED_ITEM", null) } >+ q{ INSERT IGNORE INTO message_attributes (message_attribute_id, message_name, takes_days) VALUES (12, 'Recall_Waiting', 0), (13, 'Recall_Requested', 0) } > ); > >- say $out "Added message transports for recalls notices"; >+ say $out "Added message attributes for recalls: Recall_Waiting, Recall_Requested"; > > $dbh->do( >- q{ INSERT IGNORE INTO message_attributes (message_attribute_id, message_name, takes_days) VALUES (12, 'Recall_Waiting', 0), (13, 'Recall_Requested', 0) } >+ q{ INSERT IGNORE INTO message_transports (message_attribute_id, message_transport_type, is_digest, letter_module, letter_code, branchcode) VALUES (12, "email", 0, "circulation", "PICKUP_RECALLED_ITEM", null), (12, "sms", 0, "circulation", "PICKUP_RECALLED_ITEM", null), (12, "phone", 0, "circulation", "PICKUP_RECALLED_ITEM", null), (13, "email", 0, "circulation", "RETURN_RECALLED_ITEM", null), (13, "sms", 0, "circulation", "RETURN_RECALLED_ITEM", null), (13, "phone", 0, "circulation", "RETURN_RECALLED_ITEM", null) } > ); > >- say $out "Added message attributes for recalls: Recall_Waiting, Recall_Requested"; >+ say $out "Added message transports for recalls notices"; > }, > }; >-- >2.39.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 23781
:
93905
|
104984
|
131702
|
132044
|
140242
|
140244
|
147107
|
148248
|
148260
|
150430
|
150441
|
155346
|
158696
|
158697
|
158698
|
159013
|
159014
|
159015
|
162377
|
162378
|
162379
|
162380
|
165240
|
165241
|
165242
|
165593
|
165614
|
165615
|
165616
|
165617
|
169201
|
169202
|
169203
|
169204
|
169205