Bugzilla – Attachment 128120 Details for
Bug 29586
"Hold reminder" notice doesn't show in messaging preferences in new installation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29586: Add atomic update for existing intallations
Bug-29586-Add-atomic-update-for-existing-intallati.patch (text/plain), 1.67 KB, created by
Jonathan Druart
on 2021-12-01 09:25:47 UTC
(
hide
)
Description:
Bug 29586: Add atomic update for existing intallations
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-12-01 09:25:47 UTC
Size:
1.67 KB
patch
obsolete
>From 9a67b0c74128f78ff91a26f858dcfe61c23e3600 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 1 Dec 2021 10:21:59 +0100 >Subject: [PATCH] Bug 29586: Add atomic update for existing intallations > >In case an installation was created on 21.11.00 > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../data/mysql/atomicupdate/bug_29586.pl | 23 +++++++++++++++++++ > 1 file changed, 23 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_29586.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_29586.pl b/installer/data/mysql/atomicupdate/bug_29586.pl >new file mode 100755 >index 00000000000..7e0341b1f34 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_29586.pl >@@ -0,0 +1,23 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "29586", >+ description => "Add Hold Reminder messaging preference if missing", >+ up => sub { >+ my ($args) = @_; >+ my ($dbh, $out) = @$args{qw(dbh out)}; >+ $dbh->do(q{ >+ INSERT IGNORE INTO `message_attributes` >+ (message_attribute_id, message_name, `takes_days`) >+ VALUES (10, 'Hold_Reminder', 0) >+ }); >+ $dbh->do(q{ >+ INSERT IGNORE INTO `message_transports` >+ (`message_attribute_id`, `message_transport_type`, `is_digest`, `letter_module`, `letter_code`) >+ VALUES (10, 'email', 0, 'circulation', 'HOLD_REMINDER'), >+ (10, 'sms', 0, 'circulation', 'HOLD_REMINDER'), >+ (10, 'phone', 0, 'circulation', 'HOLD_REMINDER'), >+ (10, 'itiva', 0, 'circulation', 'HOLD_REMINDER') >+ }); >+ }, >+} >-- >2.25.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 29586
:
128069
|
128119
|
128120
|
128123
|
128124
|
128447
|
128448