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

(-)a/installer/data/mysql/atomicupdate/bug_30728.pl (+15 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number  => "30728",
5
    description => "Allow opting out of real-time holds queue updating possible",
6
    up => sub {
7
        my ($args) = @_;
8
        my ($dbh) = @$args{qw(dbh)};
9
10
        $dbh->do(q{
11
            INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
12
            ('RealTimeHoldsQueue', '0', NULL, 'Enable updating the holds queue in real time.', 'YesNo')
13
        });
14
    },
15
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 556-561 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
556
('QueryWeightFields','1',NULL,'If ON, enables field weighting','YesNo'),
556
('QueryWeightFields','1',NULL,'If ON, enables field weighting','YesNo'),
557
('QuoteOfTheDay','','intranet,opac','Enable or disable display of Quote of the Day on the OPAC and staff interface home page','multiple'),
557
('QuoteOfTheDay','','intranet,opac','Enable or disable display of Quote of the Day on the OPAC and staff interface home page','multiple'),
558
('RandomizeHoldsQueueWeight','0',NULL,'if ON, the holds queue in circulation will be randomized, either based on all location codes, or by the location codes specified in StaticHoldsQueueWeight','YesNo'),
558
('RandomizeHoldsQueueWeight','0',NULL,'if ON, the holds queue in circulation will be randomized, either based on all location codes, or by the location codes specified in StaticHoldsQueueWeight','YesNo'),
559
('RealTimeHoldsQueue', '1', NULL, 'Enable updating the holds queue in real', 'YesNo')
559
('RecallsLog','1',NULL,'If ON, log create/cancel/expire/fulfill actions on recalls','YesNo'),
560
('RecallsLog','1',NULL,'If ON, log create/cancel/expire/fulfill actions on recalls','YesNo'),
560
('RecallsMaxPickUpDelay','7',NULL,'Define the maximum time a recall can be awaiting pickup','Integer'),
561
('RecallsMaxPickUpDelay','7',NULL,'Define the maximum time a recall can be awaiting pickup','Integer'),
561
('RecordLocalUseOnReturn','0',NULL,'If ON, statistically record returns of unissued items as local use, instead of return','YesNo'),
562
('RecordLocalUseOnReturn','0',NULL,'If ON, statistically record returns of unissued items as local use, instead of return','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +6 lines)
Lines 681-686 Circulation: Link Here
681
                  actual: "the actual priority, which may be out of order"
681
                  actual: "the actual priority, which may be out of order"
682
                  virtual: "'virtual' priorities, where each group is numbered separately"
682
                  virtual: "'virtual' priorities, where each group is numbered separately"
683
            - "."
683
            - "."
684
        -
685
            - pref: RealTimeHoldsQueue
686
              choices:
687
                  1: Enable
688
                  0: Disable
689
            - updating the holds queue in real time.
684
        -
690
        -
685
            - pref: AllowHoldItemTypeSelection
691
            - pref: AllowHoldItemTypeSelection
686
              choices:
692
              choices:
687
- 

Return to bug 30728