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 145-150 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
145
('COinSinOPACResults','1','','If ON, use COinS in OPAC search results page.  NOTE: this can slow down search response time significantly','YesNo'),
145
('COinSinOPACResults','1','','If ON, use COinS in OPAC search results page.  NOTE: this can slow down search response time significantly','YesNo'),
146
('CollapseFieldsPatronAddForm','',NULL,'Collapse these fields by default when adding a new patron. These fields can still be expanded.','Multiple'),
146
('CollapseFieldsPatronAddForm','',NULL,'Collapse these fields by default when adding a new patron. These fields can still be expanded.','Multiple'),
147
('ConfirmFutureHolds','0','','Number of days for confirming future holds','Integer'),
147
('ConfirmFutureHolds','0','','Number of days for confirming future holds','Integer'),
148
('ConsiderLibraryHoursWhenIssuing', 'close', 'close|open|ignore', "Take library opening hours into consideration to calculate due date when issuing.", 'Choice'),
148
('ConsiderOnSiteCheckoutsAsNormalCheckouts','1',NULL,'Consider on-site checkouts as normal checkouts','YesNo'),
149
('ConsiderOnSiteCheckoutsAsNormalCheckouts','1',NULL,'Consider on-site checkouts as normal checkouts','YesNo'),
149
('CreateAVFromCataloguing', '1', '', 'Ability to create authorized values from the cataloguing module', 'YesNo'),
150
('CreateAVFromCataloguing', '1', '', 'Ability to create authorized values from the cataloguing module', 'YesNo'),
150
('CronjobLog','0',NULL,'If ON, log information from cron jobs.','YesNo'),
151
('CronjobLog','0',NULL,'If ON, log information from cron jobs.','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +7 lines)
Lines 557-562 Circulation: Link Here
557
            - "<br />ccode: [NEWFIC,NULL,DVD]"
557
            - "<br />ccode: [NEWFIC,NULL,DVD]"
558
            - "<br />itype: [NEWBK,\"\"]"
558
            - "<br />itype: [NEWBK,\"\"]"
559
            - "<br /> <strong>NOTE:</strong> The word 'NULL' can be used to block renewal on undefined fields, while an empty string \"\" will block on an empty (but defined) field."
559
            - "<br /> <strong>NOTE:</strong> The word 'NULL' can be used to block renewal on undefined fields, while an empty string \"\" will block on an empty (but defined) field."
560
        -
561
            - When checking out an hourly loan that will be due after the library closes,
562
            - pref: ConsiderLibraryHoursWhenIssuing
563
              choices:
564
                  open: "extend the loan period and set the checkout to be due at the library's open time."
565
                  close: "shorten the loan period and set the checkout to be due at the library's close time."
566
                  ignore: "do not consider the library's opening hours."
560
    Checkin policy:
567
    Checkin policy:
561
        -
568
        -
562
            - pref: TrapHoldsOnOrder
569
            - pref: TrapHoldsOnOrder
563
- 

Return to bug 6796