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

(-)a/installer/data/mysql/atomicupdate/bug_27595.pl (+18 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number  => "27595",
5
    description => "Add system preference PlaceHoldsOnOrdersFromSuggestions",
6
    up          => sub {
7
        my ($args) = @_;
8
        my ( $dbh, $out ) = @$args{qw(dbh out)};
9
10
        $dbh->do(
11
            q{
12
            INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
13
            ('PlaceHoldsOnOrdersFromSuggestions','0',NULL,'If ON, enables generation of holds when orders are placed from suggestions','YesNo')
14
        }
15
        );
16
        say $out "Added new system preference 'PlaceHoldsOnOrdersFromSuggestions'";
17
    },
18
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 601-606 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
601
('PatronSelfRegistrationVerifyByEmail','0',NULL,'If enabled, any patron attempting to register themselves via the OPAC will be required to verify themselves via email to activate their account.','YesNo'),
601
('PatronSelfRegistrationVerifyByEmail','0',NULL,'If enabled, any patron attempting to register themselves via the OPAC will be required to verify themselves via email to activate their account.','YesNo'),
602
('PatronsPerPage','20','20','Number of Patrons Per Page displayed by default','Integer'),
602
('PatronsPerPage','20','20','Number of Patrons Per Page displayed by default','Integer'),
603
('PhoneNotification','0',NULL,'If ON, enables generation of phone notifications to be sent by plugins','YesNo'),
603
('PhoneNotification','0',NULL,'If ON, enables generation of phone notifications to be sent by plugins','YesNo'),
604
('PlaceHoldsOnOrdersFromSuggestions','0',NULL,'If ON, enables generation of holds when orders are placed from suggestions','YesNo'),
604
('PrefillGuaranteeField', 'phone,email,streetnumber,address,city,state,zipcode,country', NULL, 'Prefill these fields in guarantee member entry form from guarantor patron record', 'Multiple'),
605
('PrefillGuaranteeField', 'phone,email,streetnumber,address,city,state,zipcode,country', NULL, 'Prefill these fields in guarantee member entry form from guarantor patron record', 'Multiple'),
605
('PrefillItem','0','','When a new item is added, should it be prefilled with last created item values?','YesNo'),
606
('PrefillItem','0','','When a new item is added, should it be prefilled with last created item values?','YesNo'),
606
('PreservationModule', '0', NULL, 'Enable the preservation module', 'YesNo'),
607
('PreservationModule', '0', NULL, 'Enable the preservation module', 'YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref (-1 / +6 lines)
Lines 161-166 Acquisitions: Link Here
161
                  "pdfformat::layout3pagesfr": French 3-page
161
                  "pdfformat::layout3pagesfr": French 3-page
162
                  "pdfformat::layout2pagesde": German 2-page
162
                  "pdfformat::layout2pagesde": German 2-page
163
            - layout when printing basket groups.
163
            - layout when printing basket groups.
164
        -
165
            - pref: PlaceHoldsOnOrdersFromSuggestions
166
              choices:
167
                  1: "Do"
168
                  0: "Don't"
169
            - place a hold when ordering from a suggestion.
164
    EDIFACT:
170
    EDIFACT:
165
        -
171
        -
166
            - pref: EDIFACT
172
            - pref: EDIFACT
167
- 

Return to bug 27595