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

(-)a/installer/data/mysql/atomicupdate/bug_19532-add_recalls_sysprefs.perl (+9 lines)
Line 0 Link Here
1
$DBversion = 'XXX';
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do(q{
4
        INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES
5
        ('RecallsInterface','opac','opac|staff|both','The interface that recalls can be placed through','Choice')
6
    });
7
8
    NewVersion( $DBversion, 31391, "Add RecallsInterface system preference");
9
}
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 572-577 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
572
('QuoteOfTheDay','','intranet,opac','Enable or disable display of Quote of the Day on the OPAC and staff interface home page','multiple'),
572
('QuoteOfTheDay','','intranet,opac','Enable or disable display of Quote of the Day on the OPAC and staff interface home page','multiple'),
573
('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'),
573
('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'),
574
('RealTimeHoldsQueue', '0', NULL, 'Enable updating the holds queue in real time', 'YesNo'),
574
('RealTimeHoldsQueue', '0', NULL, 'Enable updating the holds queue in real time', 'YesNo'),
575
('RecallsInterface','opac','opac|staff|both','The interface that recalls can be placed through','Choice'),
575
('RecallsLog','1',NULL,'If ON, log create/cancel/expire/fulfill actions on recalls','YesNo'),
576
('RecallsLog','1',NULL,'If ON, log create/cancel/expire/fulfill actions on recalls','YesNo'),
576
('RecallsMaxPickUpDelay','7',NULL,'Define the maximum time a recall can be awaiting pickup','Integer'),
577
('RecallsMaxPickUpDelay','7',NULL,'Define the maximum time a recall can be awaiting pickup','Integer'),
577
('RecordLocalUseOnReturn','0',NULL,'If ON, statistically record returns of unissued items as local use, instead of return','YesNo'),
578
('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 1353-1358 Circulation: Link Here
1353
            - days.
1353
            - days.
1354
        -
1354
        -
1355
            - pref: UseRecalls
1355
            - pref: UseRecalls
1356
              type: boolean
1356
              choices:
1357
              choices:
1357
                  1: Use
1358
                  1: Use
1358
                  0: "Don't use"
1359
                  0: "Don't use"
Lines 1383-1385 Circulation: Link Here
1383
                  1: Enable
1384
                  1: Enable
1384
                  0: Disable
1385
                  0: Disable
1385
            - "the curbside pickup module."
1386
            - "the curbside pickup module."
1386
- 
1387
        -
1388
            - Recalls can be placed through
1389
            - pref: RecallsInterface
1390
              default: opac
1391
              choices:
1392
                  opac: the OPAC only
1393
                  staff: the staff client only
1394
                  both: both the OPAC and the staff client
1395
            - . (Requires <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=UseRecalls">UseRecalls</a>.)

Return to bug 31391