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

Return to bug 6796