Bugzilla – Attachment 83384 Details for
Bug 5770
Email librarian when purchase suggestion made
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5770: New system pref for new suggestion email
Bug-5770-New-system-pref-for-new-suggestion-email.patch (text/plain), 3.68 KB, created by
Devinim
on 2018-12-19 11:35:46 UTC
(
hide
)
Description:
Bug 5770: New system pref for new suggestion email
Filename:
MIME Type:
Creator:
Devinim
Created:
2018-12-19 11:35:46 UTC
Size:
3.68 KB
patch
obsolete
>From 32021f227af4a1e8670923b813dc1939edb78834 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Nazl=C4=B1=20=C3=87etin?= <nazli@devinim.com.tr> >Date: Wed, 19 Dec 2018 11:18:44 +0000 >Subject: [PATCH] Bug 5770: New system pref for new suggestion email > >--- > installer/data/mysql/atomicupdate/bug_5770.sql | 3 +++ > installer/data/mysql/sysprefs.sql | 2 ++ > .../prog/en/modules/admin/preferences/admin.pref | 11 +++++++++++ > 3 files changed, 16 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_5770.sql > >diff --git a/installer/data/mysql/atomicupdate/bug_5770.sql b/installer/data/mysql/atomicupdate/bug_5770.sql >new file mode 100644 >index 00000000000..5527fb85ad1 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_5770.sql >@@ -0,0 +1,3 @@ >+INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES >+('EmailPurchaseSuggestions','KohaAdminEmailAddress','EmailAddressForSuggestions|BranchEmailAddress|KohaAdminEmailAddress','Choose email address that will be sent new purchase suggestions','Choice'), >+('EmailAddressForSuggestions','','','If you choose EmailAddressForSuggestions you should enter a valid email address','free'); >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 1e36c306c61..7bebf7985ee 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -156,6 +156,8 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('ElasticsearchIndexStatus_authorities', '0', 'Authorities index status', NULL, NULL), > ('ElasticsearchIndexStatus_biblios', '0', 'Biblios index status', NULL, NULL), > ('emailLibrarianWhenHoldIsPlaced','0',NULL,'If ON, emails the librarian whenever a hold is placed','YesNo'), >+('EmailPurchaseSuggestions','KohaAdminEmailAddress','EmailAddressForSuggestions|BranchEmailAddress|KohaAdminEmailAddress','Choose email address that will be sent new purchase suggestions','Choice'), >+('EmailAddressForSuggestions','','','If you choose EmailAddressForSuggestions you should enter a valid email address','free'); > ('EnableAdvancedCatalogingEditor','0','','Enable the Rancor advanced cataloging editor','YesNo'), > ('EnableBorrowerFiles','0',NULL,'If enabled, allows librarians to upload and attach arbitrary files to a borrower record.','YesNo'), > ('EnableOpacSearchHistory','1','YesNo','Enable or disable opac search history',''), >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref >index 464c8c8e6ab..dc2ff58b217 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref >@@ -7,6 +7,17 @@ Administration: > class: email > - "(This is the default From: address for emails unless there is one for the particular library, and is referred to when an internal error occurs.)" > - >+ - "Choose email address that will be sent new purchase suggestions : " >+ - pref: EmailPurchaseSuggestions >+ default: KohaAdminEmailAddress >+ choices: >+ EmailAddressForSuggestions: EmailAddressForSuggestions >+ BranchEmailAddress: email address of branch >+ KohaAdminEmailAddress: KohaAdminEmailAddress >+ - "If you choose EmailAddressForSuggestions you should enter a valid email address : " >+ - pref: EmailAddressForSuggestions >+ class: email >+ - > - "Email address to be set as the replyto in emails: " > - pref: ReplytoDefault > class: email >-- >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 5770
:
83384
|
83385
|
83386
|
83387
|
83388
|
83390
|
83615
|
83616
|
83617
|
84463
|
84812
|
89139
|
89140
|
89141
|
89142
|
89144
|
89145
|
89146
|
89147
|
89188
|
89189
|
89190
|
89191
|
89192
|
89193
|
89194
|
89195