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

(-)a/installer/data/mysql/atomicupdate/bug_31391_-_add_RecallsInterface_syspref.pl (+12 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(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') });
11
    },
12
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 645-650 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
645
('QuoteOfTheDay','','intranet,opac','Enable or disable display of Quote of the Day on the OPAC and staff interface home page','multiple'),
645
('QuoteOfTheDay','','intranet,opac','Enable or disable display of Quote of the Day on the OPAC and staff interface home page','multiple'),
646
('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'),
646
('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'),
647
('RealTimeHoldsQueue', '0', NULL, 'Enable updating the holds queue in real time', 'YesNo'),
647
('RealTimeHoldsQueue', '0', NULL, 'Enable updating the holds queue in real time', 'YesNo'),
648
('RecallsInterface','opac','opac|staff|both','The interface that recalls can be placed through','Choice'),
648
('RecallsLog','1',NULL,'If ON, log create/cancel/expire/fulfill actions on recalls','YesNo'),
649
('RecallsLog','1',NULL,'If ON, log create/cancel/expire/fulfill actions on recalls','YesNo'),
649
('RecallsMaxPickUpDelay','7',NULL,'Define the maximum time a recall can be awaiting pickup','Integer'),
650
('RecallsMaxPickUpDelay','7',NULL,'Define the maximum time a recall can be awaiting pickup','Integer'),
650
('RecordLocalUseOnReturn','0',NULL,'If ON, statistically record returns of unissued items as local use, instead of return','YesNo'),
651
('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 / +10 lines)
Lines 1464-1469 Circulation: Link Here
1464
            - days.
1464
            - days.
1465
        -
1465
        -
1466
            - pref: UseRecalls
1466
            - pref: UseRecalls
1467
              type: boolean
1467
              choices:
1468
              choices:
1468
                  1: Use
1469
                  1: Use
1469
                  0: "Don't use"
1470
                  0: "Don't use"
Lines 1510-1512 Circulation: Link Here
1510
                  1: Enable
1511
                  1: Enable
1511
                  0: Disable
1512
                  0: Disable
1512
            - "the curbside pickup module."
1513
            - "the curbside pickup module."
1513
- 
1514
        -
1515
            - Recalls can be placed through
1516
            - pref: RecallsInterface
1517
              default: opac
1518
              choices:
1519
                  opac: the OPAC only
1520
                  staff: the staff interface only
1521
                  both: both the OPAC and the staff interface
1522
            - . (Requires <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=UseRecalls">UseRecalls</a>.)

Return to bug 31391