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

(-)a/installer/data/mysql/atomicupdate/bug24718_HourBasedHolds_syspref.perl (+7 lines)
Line 0 Link Here
1
$DBversion = 'XXX';
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do(q{INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES ('HourBasedHolds', 0, 'Allow holds to operate on an hourly or minutes basis', NULL, 'YesNo') });
4
5
    SetVersion( $DBversion );
6
    print "Upgrade to $DBversion done (Bug 24718 - Add HourBasedHolds system preference)\n";
7
}
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 298-303 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
298
('HoldsSplitQueueNumbering', 'actual', 'actual|virtual', 'If the holds queue is split, decide if the actual priorities should be displayed', 'Choice'),
298
('HoldsSplitQueueNumbering', 'actual', 'actual|virtual', 'If the holds queue is split, decide if the actual priorities should be displayed', 'Choice'),
299
('HoldsToPullStartDate','2',NULL,'Set the default start date for the Holds to pull list to this many days ago','Integer'),
299
('HoldsToPullStartDate','2',NULL,'Set the default start date for the Holds to pull list to this many days ago','Integer'),
300
('HomeOrHoldingBranch','holdingbranch','holdingbranch|homebranch','Used by Circulation to determine which branch of an item to check with independent branches on, and by search to determine which branch to choose for availability ','Choice'),
300
('HomeOrHoldingBranch','holdingbranch','holdingbranch|homebranch','Used by Circulation to determine which branch of an item to check with independent branches on, and by search to determine which branch to choose for availability ','Choice'),
301
('HourBasedHolds', 0, NULL, 'Allow holds to operate on an hourly or minutes basis', 'YesNo'),
301
('HouseboundModule',0,'','If ON, enable housebound module functionality.','YesNo'),
302
('HouseboundModule',0,'','If ON, enable housebound module functionality.','YesNo'),
302
('HTML5MediaEnabled','not','not|opac|staff|both','Show a tab with a HTML5 media player for files catalogued in field 856','Choice'),
303
('HTML5MediaEnabled','not','not|opac|staff|both','Show a tab with a HTML5 media player for files catalogued in field 856','Choice'),
303
('HTML5MediaExtensions','webm|ogg|ogv|oga|vtt','','Media file extensions','free'),
304
('HTML5MediaExtensions','webm|ogg|ogv|oga|vtt','','Media file extensions','free'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +6 lines)
Lines 689-694 Circulation: Link Here
689
                  0: "Don't store"
689
                  0: "Don't store"
690
            - 'the last patron to return an item. This setting is independent of the <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=opacreadinghistory">opacreadinghistory</a> and <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=AnonymousPatron">AnonymousPatron</a> system preferences.'
690
            - 'the last patron to return an item. This setting is independent of the <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=opacreadinghistory">opacreadinghistory</a> and <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=AnonymousPatron">AnonymousPatron</a> system preferences.'
691
    Holds policy:
691
    Holds policy:
692
        -
693
            - pref: HourBasedHolds
694
              choices:
695
                  1: Allow
696
                  0: "Don't allow"
697
            - holds to operate on an hourly or minutes basis. If enabled, hours and minutes will be considered when placing a hold, and the relevant cronjob should be enabled to run hourly.<br><strong>NOTE:</strong> This system preference requires the <code>misc/cronjobs/holds/*</code> cronjobs to run hourly. Ask your system administrator to schedule them.
692
        -
698
        -
693
            - In the staff interface, split the holds queue into separate tables by
699
            - In the staff interface, split the holds queue into separate tables by
694
            - pref: HoldsSplitQueue
700
            - pref: HoldsSplitQueue
695
- 

Return to bug 24718