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

(-)a/installer/data/mysql/atomicupdate/bug_31391_-_add_RecallsInterface_syspref.pl (+14 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number  => "31391",
5
    description => "Add new system preference RecallsInterface",
6
    up          => sub {
7
        my ($args) = @_;
8
        my ( $dbh, $out ) = @$args{qw(dbh out)};
9
10
        $dbh->do(
11
            q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('RecallsInterface','opac','opac|staff|both','The interface that recalls can be placed through','Choice') }
12
        );
13
    },
14
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 666-671 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
666
('QuoteOfTheDay','','intranet,opac','Enable or disable display of Quote of the Day on the OPAC and staff interface home page','multiple'),
666
('QuoteOfTheDay','','intranet,opac','Enable or disable display of Quote of the Day on the OPAC and staff interface home page','multiple'),
667
('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'),
667
('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'),
668
('RealTimeHoldsQueue', '0', NULL, 'Enable updating the holds queue in real time', 'YesNo'),
668
('RealTimeHoldsQueue', '0', NULL, 'Enable updating the holds queue in real time', 'YesNo'),
669
('RecallsInterface','opac','opac|staff|both','The interface that recalls can be placed through','Choice'),
669
('RecallsLog','1',NULL,'If ON, log create/cancel/expire/fulfill actions on recalls','YesNo'),
670
('RecallsLog','1',NULL,'If ON, log create/cancel/expire/fulfill actions on recalls','YesNo'),
670
('RecallsMaxPickUpDelay','7',NULL,'Define the maximum time a recall can be awaiting pickup','Integer'),
671
('RecallsMaxPickUpDelay','7',NULL,'Define the maximum time a recall can be awaiting pickup','Integer'),
671
('RecordLocalUseOnReturn','0',NULL,'If ON, statistically record returns of unissued items as local use, instead of return','YesNo'),
672
('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 (-2 / +11 lines)
Lines 1489-1494 Circulation: Link Here
1489
            - days.
1489
            - days.
1490
        -
1490
        -
1491
            - pref: UseRecalls
1491
            - pref: UseRecalls
1492
              type: boolean
1492
              choices:
1493
              choices:
1493
                  1: Use
1494
                  1: Use
1494
                  0: "Don't use"
1495
                  0: "Don't use"
Lines 1534-1537 Circulation: Link Here
1534
              choices:
1535
              choices:
1535
                  1: Enable
1536
                  1: Enable
1536
                  0: Disable
1537
                  0: Disable
1537
            - "the curbside pickup module."
1538
            - "the curbside pickup module."
1539
        -
1540
            - Recalls can be placed through
1541
            - pref: RecallsInterface
1542
              default: opac
1543
              choices:
1544
                  opac: the OPAC only
1545
                  staff: the staff interface only
1546
                  both: both the OPAC and the staff interface
1547
            - . (Requires <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=UseRecalls">UseRecalls</a>.)
1538
- 

Return to bug 31391