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

(-)a/installer/data/mysql/atomicupdate/bug_15561.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
        UPDATE systempreferences SET variable = 'WaitingHoldCancelationFee' WHERE variable = 'ExpireReservesMaxPickUpDelayCharge';
5
    });
6
7
    SetVersion( $DBversion );
8
    print "Upgrade to $DBversion done (Bug 14137 - Allow ExpireReservesMaxPickUpDelayCharge to be used without ExpireReservesMaxPickUpDelay)\n";
9
}
(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 160-166 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
160
('EnhancedMessagingPreferencesOPAC', '1', NULL, 'If ON, show patrons messaging setting on the OPAC.', 'YesNo'),
160
('EnhancedMessagingPreferencesOPAC', '1', NULL, 'If ON, show patrons messaging setting on the OPAC.', 'YesNo'),
161
('expandedSearchOption','0',NULL,'If ON, set advanced search to be expanded by default','YesNo'),
161
('expandedSearchOption','0',NULL,'If ON, set advanced search to be expanded by default','YesNo'),
162
('ExpireReservesMaxPickUpDelay','0','','Enabling this allows holds to expire automatically if they have not been picked by within the time period specified in ReservesMaxPickUpDelay','YesNo'),
162
('ExpireReservesMaxPickUpDelay','0','','Enabling this allows holds to expire automatically if they have not been picked by within the time period specified in ReservesMaxPickUpDelay','YesNo'),
163
('WaitingHoldCancelationFee','0',NULL,'If ExpireReservesMaxPickUpDelay is enabled, and this field has a non-zero value, than a borrower whose waiting hold has expired will be charged this amount.','free'),
164
('ExpireReservesOnHolidays', '1', NULL, 'If false, reserves at a library will not be canceled on days the library is not open.', 'YesNo'),
163
('ExpireReservesOnHolidays', '1', NULL, 'If false, reserves at a library will not be canceled on days the library is not open.', 'YesNo'),
165
('ExcludeHolidaysFromMaxPickUpDelay', '0', NULL, 'If ON, reserves max pickup delay takes into accountthe closed days.', 'YesNo'),
164
('ExcludeHolidaysFromMaxPickUpDelay', '0', NULL, 'If ON, reserves max pickup delay takes into accountthe closed days.', 'YesNo'),
166
('ExportCircHistory', 0, NULL, "Display the export circulation options",  'YesNo' ),
165
('ExportCircHistory', 0, NULL, "Display the export circulation options",  'YesNo' ),
Lines 617-622 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
617
('viewLabeledMARC','0','','Allow display of labeled MARC view of bibiographic records','YesNo'),
616
('viewLabeledMARC','0','','Allow display of labeled MARC view of bibiographic records','YesNo'),
618
('viewMARC','1','','Allow display of MARC view of bibiographic records','YesNo'),
617
('viewMARC','1','','Allow display of MARC view of bibiographic records','YesNo'),
619
('virtualshelves','1','','If ON, enables Lists management','YesNo'),
618
('virtualshelves','1','','If ON, enables Lists management','YesNo'),
619
('WaitingHoldCancelationFee','0',NULL,'If ExpireReservesMaxPickUpDelay is enabled, and this field has a non-zero value, then a borrower whose waiting hold has expired will be charged this amount.','free'),
620
('WaitingNotifyAtCheckin','0',NULL,'If ON, notify librarians of waiting holds for the patron whose items they are checking in.','YesNo'),
620
('WaitingNotifyAtCheckin','0',NULL,'If ON, notify librarians of waiting holds for the patron whose items they are checking in.','YesNo'),
621
('WebBasedSelfCheck','0',NULL,'If ON, enables the web-based self-check system','YesNo'),
621
('WebBasedSelfCheck','0',NULL,'If ON, enables the web-based self-check system','YesNo'),
622
('WhenLostChargeReplacementFee','1',NULL,'If ON, Charge the replacement price when a patron loses an item.','YesNo'),
622
('WhenLostChargeReplacementFee','1',NULL,'If ON, Charge the replacement price when a patron loses an item.','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-2 / +1 lines)
Lines 605-611 Circulation: Link Here
605
            - Charge an amount of
605
            - Charge an amount of
606
            - pref: WaitingHoldCancelationFee
606
            - pref: WaitingHoldCancelationFee
607
              class: currency
607
              class: currency
608
            - if a waiting hold cancellation fee is to be charged, based on if the hold has been waiting more days than defined by ReservesMaxPickUpDelay.
608
            - if a waiting hold cancelation fee is to be charged, based on if the hold has been waiting more days than defined by ReservesMaxPickUpDelay.
609
        -
609
        -
610
            - Satisfy holds using items from the libraries
610
            - Satisfy holds using items from the libraries
611
            - pref: StaticHoldsQueueWeight
611
            - pref: StaticHoldsQueueWeight
612
- 

Return to bug 15561