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

(-)a/installer/data/mysql/atomicupdate/bug_15131_AllowItemsOnHoldCheckoutSCO.sql (+19 lines)
Line 0 Link Here
1
INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type )
2
    SELECT 'AllowItemsOnHoldCheckoutSCO',
3
         COALESCE(value,0),
4
         '',
5
         'Do not generate RESERVE_WAITING and RESERVED warning in the SCO module when checking out items reserved to someone else. This allows self checkouts for those items.',
6
         'YesNo'
7
    FROM systempreferences WHERE variable='AllowItemsOnHoldCheckout';
8
9
-- $DBversion = '16.06.00.XXX';
10
-- if ( CheckVersion($DBversion) ) {
11
--     $dbh->do(q{
12
--         INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type )
13
--          SELECT 'AllowItemsOnHoldCheckoutSCO',COALESCE(value,0),'','Do not generate RESERVE_WAITING and RESERVED warning in the SCO module when checking out items reserved to someone else. This allows self checkouts for those items.','YesNo'
14
--          FROM systempreferences WHERE variable='AllowItemsOnHoldCheckout';
15
--     });
16
17
--     print "Upgrade to $DBversion done (Bug 15131: Give SCO separate control for AllowItemsOnHoldCheckout)\n";
18
--     SetVersion($DBversion);
19
-- }
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 22-27 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
22
('AllowHoldsOnDamagedItems','1','','Allow hold requests to be placed on damaged items','YesNo'),
22
('AllowHoldsOnDamagedItems','1','','Allow hold requests to be placed on damaged items','YesNo'),
23
('AllowHoldsOnPatronsPossessions','1',NULL,'Allow holds on records that patron have items of it','YesNo'),
23
('AllowHoldsOnPatronsPossessions','1',NULL,'Allow holds on records that patron have items of it','YesNo'),
24
('AllowItemsOnHoldCheckout','0','','Do not generate RESERVE_WAITING and RESERVED warning when checking out items reserved to someone else. This allows self checkouts for those items.','YesNo'),
24
('AllowItemsOnHoldCheckout','0','','Do not generate RESERVE_WAITING and RESERVED warning when checking out items reserved to someone else. This allows self checkouts for those items.','YesNo'),
25
('AllowItemsOnHoldCheckoutSCO','0','','Do not generate RESERVE_WAITING and RESERVED warning in the SCO module when checking out items reserved to someone else. This allows self checkouts for those items.','YesNo'),
25
('AllowMultipleCovers','0','1','Allow multiple cover images to be attached to each bibliographic record.','YesNo'),
26
('AllowMultipleCovers','0','1','Allow multiple cover images to be attached to each bibliographic record.','YesNo'),
26
('AllowMultipleIssuesOnABiblio',1,'Allow/Don\'t allow patrons to check out multiple items from one biblio','','YesNo'),
27
('AllowMultipleIssuesOnABiblio',1,'Allow/Don\'t allow patrons to check out multiple items from one biblio','','YesNo'),
27
('AllowNotForLoanOverride','0','','If ON, Koha will allow the librarian to loan a not for loan item.','YesNo'),
28
('AllowNotForLoanOverride','0','','If ON, Koha will allow the librarian to loan a not for loan item.','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +6 lines)
Lines 169-174 Circulation: Link Here
169
                  no: "Don't allow"
169
                  no: "Don't allow"
170
            - checkouts of items reserved to someone else. If allowed do not generate RESERVE_WAITING and RESERVED warning. This allows self checkouts for those items.
170
            - checkouts of items reserved to someone else. If allowed do not generate RESERVE_WAITING and RESERVED warning. This allows self checkouts for those items.
171
        -
171
        -
172
            - pref: AllowItemsOnHoldCheckoutSCO
173
              choices:
174
                  yes: Allow
175
                  no: "Don't allow"
176
            - checkouts of items reserved to someone else in the SCO module. If allowed do not generate RESERVE_WAITING and RESERVED warning. This allows self checkouts for those items.
177
        -
172
            - pref: AllFinesNeedOverride
178
            - pref: AllFinesNeedOverride
173
              choices:
179
              choices:
174
                  yes: Require
180
                  yes: Require
175
- 

Return to bug 15131