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

(-)a/installer/data/mysql/atomicupdate/bug_21549.perl (+9 lines)
Line 0 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do(q|
4
        INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` )
5
        VALUES ('LockExpiredDelay','','','Delay for locking expired patrons (empty means no locking)','Integer')
6
    |);
7
8
    NewVersion( $DBversion, 21549, "Add pref LockExpiredDelay");
9
}
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 299-304 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
299
('LocalHoldsPriority',  '0', NULL,  'Enables the LocalHoldsPriority feature',  'YesNo'),
299
('LocalHoldsPriority',  '0', NULL,  'Enables the LocalHoldsPriority feature',  'YesNo'),
300
('LocalHoldsPriorityItemControl',  'holdingbranch',  'holdingbranch|homebranch',  'decides if the feature operates using the item''s home or holding library.',  'Choice'),
300
('LocalHoldsPriorityItemControl',  'holdingbranch',  'holdingbranch|homebranch',  'decides if the feature operates using the item''s home or holding library.',  'Choice'),
301
('LocalHoldsPriorityPatronControl',  'PickupLibrary',  'HomeLibrary|PickupLibrary',  'decides if the feature operates using the library set as the patron''s home library, or the library set as the pickup library for the given hold.',  'Choice'),
301
('LocalHoldsPriorityPatronControl',  'PickupLibrary',  'HomeLibrary|PickupLibrary',  'decides if the feature operates using the library set as the patron''s home library, or the library set as the pickup library for the given hold.',  'Choice'),
302
('LockExpiredDelay','','','Delay for locking expired patrons (empty means no locking)','Integer'),
302
('makePreviousSerialAvailable','0','','make previous serial automatically available when collecting a new serial. Please note that the item-level_itypes syspref must be set to specific item.','YesNo'),
303
('makePreviousSerialAvailable','0','','make previous serial automatically available when collecting a new serial. Please note that the item-level_itypes syspref must be set to specific item.','YesNo'),
303
('Mana','2',NULL,'request to Mana Webservice. Mana centralize common information between other Koha to facilitate the creation of new subscriptions, vendors, report queries etc... You can search, share, import and comment the content of Mana.','YesNo'),
304
('Mana','2',NULL,'request to Mana Webservice. Mana centralize common information between other Koha to facilitate the creation of new subscriptions, vendors, report queries etc... You can search, share, import and comment the content of Mana.','YesNo'),
304
('ManInvInNoissuesCharge','1',NULL,'MANUAL_INV charges block checkouts (added to noissuescharge).','YesNo'),
305
('ManInvInNoissuesCharge','1',NULL,'MANUAL_INV charges block checkouts (added to noissuescharge).','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref (-1 / +6 lines)
Lines 86-91 Patrons: Link Here
86
               yes: Allow patrons
86
               yes: Allow patrons
87
               no: Allow only staff
87
               no: Allow only staff
88
         - "to allow/disallow auto-renewal for account. If allowed a patron will be able to update their own account to allow/disallow auto-renewal"
88
         - "to allow/disallow auto-renewal for account. If allowed a patron will be able to update their own account to allow/disallow auto-renewal"
89
     -
90
         - Lock expired patrons after
91
         - pref: LockExpiredDelay
92
           class: integer
93
         - days. Leave empty to disable this behavior.
94
89
    Membership expiry:
95
    Membership expiry:
90
     -
96
     -
91
         - When renewing borrowers, base the new expiry date on
97
         - When renewing borrowers, base the new expiry date on
92
- 

Return to bug 21549