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

(-)a/installer/data/mysql/atomicupdate/bug_6796_-_add_ConsiderLibraryHoursWhenIssuing_syspref.perl (+5 lines)
Line 0 Link Here
1
$DBversion = 'XXX';
2
if ( CheckVersion( $DBversion ) ) {
3
    $dbh->do(q{ INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type ) VALUES ( 'ConsiderLibraryHoursWhenIssuing', 'ignore', 'close|open|ignore', "Take library opening hours into consideration to calculate due date when issuing.", 'Choice' ) });
4
    NewVersion( $DBversion, 6796, "Add ConsiderLibraryHoursWhenIssuing system preference" );
5
}
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 156-161 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
156
('ComponentSortField','title','call_number|pubdate|acqdate|title|author','Specify the default field used for sorting','Choice'),
156
('ComponentSortField','title','call_number|pubdate|acqdate|title|author','Specify the default field used for sorting','Choice'),
157
('ComponentSortOrder','asc','asc|dsc|az|za','Specify the default sort order','Choice'),
157
('ComponentSortOrder','asc','asc|dsc|az|za','Specify the default sort order','Choice'),
158
('ConfirmFutureHolds','0','','Number of days for confirming future holds','Integer'),
158
('ConfirmFutureHolds','0','','Number of days for confirming future holds','Integer'),
159
('ConsiderLibraryHoursWhenIssuing', 'close', 'close|open|ignore', "Take library opening hours into consideration to calculate due date when issuing.", 'Choice'),
159
('ConsiderOnSiteCheckoutsAsNormalCheckouts','1',NULL,'Consider on-site checkouts as normal checkouts','YesNo'),
160
('ConsiderOnSiteCheckoutsAsNormalCheckouts','1',NULL,'Consider on-site checkouts as normal checkouts','YesNo'),
160
('ContentWarningField', '', NULL, 'MARC field to use for content warnings', 'Free'),
161
('ContentWarningField', '', NULL, 'MARC field to use for content warnings', 'Free'),
161
('CreateAVFromCataloguing', '1', '', 'Ability to create authorized values from the cataloguing module', 'YesNo'),
162
('CreateAVFromCataloguing', '1', '', 'Ability to create authorized values from the cataloguing module', 'YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +7 lines)
Lines 550-555 Circulation: Link Here
550
            - This is a list of value pairs. When an item is checked out, if the not for loan value on the left matches the items not for loan value
550
            - This is a list of value pairs. When an item is checked out, if the not for loan value on the left matches the items not for loan value
551
            - "it will be updated to the right-hand value. For example, '-1: 0' will cause an item that was set to 'Ordered' to now be available for loan."
551
            - "it will be updated to the right-hand value. For example, '-1: 0' will cause an item that was set to 'Ordered' to now be available for loan."
552
            - Each pair of values should be on a separate line.
552
            - Each pair of values should be on a separate line.
553
        -
554
            - When checking out an hourly loan that will be due after the library closes,
555
            - pref: ConsiderLibraryHoursWhenIssuing
556
              choices:
557
                  open: "extend the loan period and set the checkout to be due at the library's open time."
558
                  close: "shorten the loan period and set the checkout to be due at the library's close time."
559
                  ignore: "do not consider the library's opening hours."
553
    Checkin policy:
560
    Checkin policy:
554
        -
561
        -
555
            - pref: TrapHoldsOnOrder
562
            - pref: TrapHoldsOnOrder
556
- 

Return to bug 6796