Bugzilla – Attachment 194021 Details for
Bug 21627
System preference for recipient emails of gather_print_notices.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21627: Add SendPrintNoticesCombineEmails and SendPrintNoticesEmails system preferences.
Bug-21627-Add-SendPrintNoticesCombineEmails-and-Se.patch (text/plain), 3.66 KB, created by
Lucas Gass (lukeg)
on 2026-02-26 17:22:45 UTC
(
hide
)
Description:
Bug 21627: Add SendPrintNoticesCombineEmails and SendPrintNoticesEmails system preferences.
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2026-02-26 17:22:45 UTC
Size:
3.66 KB
patch
obsolete
>From df2fe22ddfaedb5cb7c3178359a428e312f95789 Mon Sep 17 00:00:00 2001 >From: Imani Thomas <imani.thomas@bywatersolutions.com> >Date: Fri, 10 Jan 2025 13:56:05 +0000 >Subject: [PATCH] Bug 21627: Add SendPrintNoticesCombineEmails and > SendPrintNoticesEmails system preferences. > >--- > .../data/mysql/atomicupdate/bug_21627.pl | 21 +++++++++++++++++++ > installer/data/mysql/mandatory/sysprefs.sql | 8 ++++--- > 2 files changed, 26 insertions(+), 3 deletions(-) > create mode 100755 installer/data/mysql/atomicupdate/bug_21627.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_21627.pl b/installer/data/mysql/atomicupdate/bug_21627.pl >new file mode 100755 >index 00000000000..ce9258cf536 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_21627.pl >@@ -0,0 +1,21 @@ >+use Modern::Perl; >+use Koha::Installer::Output qw(say_warning say_success say_info); >+ >+return { >+ bug_number => "21627", >+ description => "Add System preferences SendPrintNoticesEmails and SendPrintNoticesCombineEmails", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ >+ # Do you stuffs here >+ $dbh->do(q{ >+ INSERT IGNORE INTO systempreferences >+ (`variable`, `value`, `options`, `explanation`, `type`) >+ VALUES >+ ('SendPrintNoticesEmails','','','What email addresses should send_print_notices.pl send to?','Free'), >+ ('SendPrintNoticesCombineEmails','1',NULL,'If we have emails in the flag and the system preference should we combine them or just use the system preference?','YesNo')}); >+ >+ say $out "Added new system preferences 'SendPrintNoticesEmails' and 'SendPrintNoticesCombineEmails"; >+ }, >+}; >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index 585d7a5d8d8..d0997f13f35 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -737,9 +737,11 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('SelfCheckInUserCSS','',NULL,'Add CSS to be included in the self check-in module in an embedded <style> tag.','Free'), > ('SelfCheckInUserJS','',NULL,'Define custom javascript for inclusion in the self check-in module.','Free'), > ('SelfCheckoutByLogin','1',NULL,'Have patrons login into the web-based self checkout system with their username/password or their cardnumber','YesNo'), >-('SelfCheckReceiptPrompt','1',NULL,'If ON, print receipt dialog pops up when self checkout is finished','YesNo'), >-('SelfCheckTimeout','120',NULL,'Define the number of seconds before the Web-based Self Checkout times out a patron','Integer'), >-('SendAllEmailsTo','',NULL,'All emails will be redirected to this email if it is not empty','Free'), >+('SelfCheckReceiptPrompt','1','NULL','If ON, print receipt dialog pops up when self checkout is finished','YesNo'), >+('SelfCheckTimeout','120','','Define the number of seconds before the Web-based Self Checkout times out a patron','Integer'), >+('SendAllEmailsTo','',NULL,'All emails will be redirected to this email if it is not empty','free'), >+('SendPrintNoticesCombineEmails','1',NULL,'If we have emails in the flag and the system preference should we combine them or just use the system preference?','YesNo'), >+('SendPrintNoticesEmails','','','What email addresses should send_print_notices.pl send to?','Free'), > ('SeparateHoldings','0',NULL,'Separate current branch holdings from other holdings','YesNo'), > ('SeparateHoldingsBranch','homebranch','homebranch|holdingbranch','Branch used to separate holdings','Choice'), > ('SerialsDefaultEmailAddress', '', NULL, 'Default email address used as reply-to for notices sent by the serials module.', 'Free'), >-- >2.39.5
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 21627
:
176339
|
176340
|
189408
|
194020
| 194021 |
194022