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 586-591 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
586
('PatronsPerPage','20','20','Number of Patrons Per Page displayed by default','Integer'),
586
('PatronsPerPage','20','20','Number of Patrons Per Page displayed by default','Integer'),
587
('PatronQuickAddFields',  '', NULL ,  'A list of fields separated by "|" to be displayed along with mandatory fields in the patron quick add form if chosen at patron entry',  'Free' ),
587
('PatronQuickAddFields',  '', NULL ,  'A list of fields separated by "|" to be displayed along with mandatory fields in the patron quick add form if chosen at patron entry',  'Free' ),
588
('PhoneNotification','0',NULL,'If ON, enables generation of phone notifications to be sent by plugins','YesNo'),
588
('PhoneNotification','0',NULL,'If ON, enables generation of phone notifications to be sent by plugins','YesNo'),
589
('PlaceHoldsOnOrdersFromSuggestions','0',NULL,'If ON, enables generation of holds when orders are placed from suggestions','YesNo'),
589
('PrefillGuaranteeField', 'phone,email,streetnumber,address,city,state,zipcode,country', NULL, 'Prefill these fields in guarantee member entry form from guarantor patron record', 'Multiple'),
590
('PrefillGuaranteeField', 'phone,email,streetnumber,address,city,state,zipcode,country', NULL, 'Prefill these fields in guarantee member entry form from guarantor patron record', 'Multiple'),
590
('PrefillItem','0','','When a new item is added, should it be prefilled with last created item values?','YesNo'),
591
('PrefillItem','0','','When a new item is added, should it be prefilled with last created item values?','YesNo'),
591
('PreservationModule', '0', NULL, 'Enable the preservation module', 'YesNo'),
592
('PreservationModule', '0', NULL, 'Enable the preservation module', 'YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref (-1 / +6 lines)
Lines 160-165 Acquisitions: Link Here
160
                  "pdfformat::layout3pagesfr": French 3-page
160
                  "pdfformat::layout3pagesfr": French 3-page
161
                  "pdfformat::layout2pagesde": German 2-page
161
                  "pdfformat::layout2pagesde": German 2-page
162
            - layout when printing basket groups.
162
            - layout when printing basket groups.
163
        -
164
            - pref: PlaceHoldsOnOrdersFromSuggestions
165
              choices:
166
                  1: "Do"
167
                  0: "Don't"
168
            - place a hold when ordering from a suggestion.
163
    EDIFACT:
169
    EDIFACT:
164
        -
170
        -
165
            - pref: EDIFACT
171
            - pref: EDIFACT
166
- 

Return to bug 27595