View | Details | Raw Unified | Return to bug 5770
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_5770.sql (+3 lines)
Line 0 Link Here
1
INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES 
2
('EmailPurchaseSuggestions','KohaAdminEmailAddress','EmailAddressForSuggestions|BranchEmailAddress|KohaAdminEmailAddress','Choose email address that will be sent new purchase suggestions','Choice'),
3
('EmailAddressForSuggestions','','','If you choose EmailAddressForSuggestions you should enter a valid email address','free');
(-)a/installer/data/mysql/sysprefs.sql (+2 lines)
Lines 156-161 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
156
('ElasticsearchIndexStatus_authorities', '0', 'Authorities index status', NULL, NULL),
156
('ElasticsearchIndexStatus_authorities', '0', 'Authorities index status', NULL, NULL),
157
('ElasticsearchIndexStatus_biblios', '0', 'Biblios index status', NULL, NULL),
157
('ElasticsearchIndexStatus_biblios', '0', 'Biblios index status', NULL, NULL),
158
('emailLibrarianWhenHoldIsPlaced','0',NULL,'If ON, emails the librarian whenever a hold is placed','YesNo'),
158
('emailLibrarianWhenHoldIsPlaced','0',NULL,'If ON, emails the librarian whenever a hold is placed','YesNo'),
159
('EmailPurchaseSuggestions','KohaAdminEmailAddress','EmailAddressForSuggestions|BranchEmailAddress|KohaAdminEmailAddress','Choose email address that will be sent new purchase suggestions','Choice'),
160
('EmailAddressForSuggestions','','','If you choose EmailAddressForSuggestions you should enter a valid email address','free');
159
('EnableAdvancedCatalogingEditor','0','','Enable the Rancor advanced cataloging editor','YesNo'),
161
('EnableAdvancedCatalogingEditor','0','','Enable the Rancor advanced cataloging editor','YesNo'),
160
('EnableBorrowerFiles','0',NULL,'If enabled, allows librarians to upload and attach arbitrary files to a borrower record.','YesNo'),
162
('EnableBorrowerFiles','0',NULL,'If enabled, allows librarians to upload and attach arbitrary files to a borrower record.','YesNo'),
161
('EnableOpacSearchHistory','1','YesNo','Enable or disable opac search history',''),
163
('EnableOpacSearchHistory','1','YesNo','Enable or disable opac search history',''),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref (-1 / +11 lines)
Lines 7-12 Administration: Link Here
7
              class: email
7
              class: email
8
            - "(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.)"
8
            - "(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.)"
9
        -
9
        -
10
            - "Choose email address that will be sent new purchase suggestions : "
11
            - pref:   EmailPurchaseSuggestions
12
              default: KohaAdminEmailAddress
13
              choices:
14
                  EmailAddressForSuggestions: EmailAddressForSuggestions
15
                  BranchEmailAddress: email address of branch
16
                  KohaAdminEmailAddress: KohaAdminEmailAddress
17
            - "If you choose EmailAddressForSuggestions you should enter a valid email address : "
18
            - pref: EmailAddressForSuggestions
19
              class: email
20
        -
10
            - "Email address to be set as the replyto in emails: "
21
            - "Email address to be set as the replyto in emails: "
11
            - pref: ReplytoDefault
22
            - pref: ReplytoDefault
12
              class: email
23
              class: email
13
- 

Return to bug 5770