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

(-)a/installer/data/mysql/atomicupdate/bug_32776_-_add_ConvertSelectedReservesToRecalls_syspref.pl (+14 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number => "32776",
5
    description => "Convert selected reserves to recalls",
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 ('ConvertSelectedReservesToRecalls', 'oldest', 'oldest|recallable', 'Choose whether the convert_reserves_to_recalls.pl cronjob should convert only the oldest reserve on the record to a recall, or one reserve for each item available to be recalled', 'Choice') });
11
12
        say $out "Added system preference 'ConvertSelectedReservesToRecalls'";
13
    },
14
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 155-160 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
155
('ComponentSortOrder','asc','asc|dsc|az|za','Specify the default sort order','Choice'),
155
('ComponentSortOrder','asc','asc|dsc|az|za','Specify the default sort order','Choice'),
156
('ConfirmFutureHolds','0','','Number of days for confirming future holds','Integer'),
156
('ConfirmFutureHolds','0','','Number of days for confirming future holds','Integer'),
157
('ConsiderOnSiteCheckoutsAsNormalCheckouts','1',NULL,'Consider on-site checkouts as normal checkouts','YesNo'),
157
('ConsiderOnSiteCheckoutsAsNormalCheckouts','1',NULL,'Consider on-site checkouts as normal checkouts','YesNo'),
158
('ConvertSelectedReservesToRecalls', 'oldest', 'oldest|recallable', 'Choose whether the convert_reserves_to_recalls.pl cronjob should convert only the oldest reserve on the record to a recall, or one reserve for each item available to be recalled', 'Choice'),
158
('CreateAVFromCataloguing', '1', '', 'Ability to create authorized values from the cataloguing module', 'YesNo'),
159
('CreateAVFromCataloguing', '1', '', 'Ability to create authorized values from the cataloguing module', 'YesNo'),
159
('CronjobLog','0',NULL,'If ON, log information from cron jobs.','YesNo'),
160
('CronjobLog','0',NULL,'If ON, log information from cron jobs.','YesNo'),
160
('CumulativeRestrictionPeriods',0,NULL,'Cumulate the restriction periods instead of keeping the highest','YesNo'),
161
('CumulativeRestrictionPeriods',0,NULL,'Cumulate the restriction periods instead of keeping the highest','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +9 lines)
Lines 1387-1392 Circulation: Link Here
1387
                  1: Use
1387
                  1: Use
1388
                  0: "Don't use"
1388
                  0: "Don't use"
1389
            - recalls. Make sure you configure <a href="/cgi-bin/koha/admin/smart-rules.pl">circulation and fines rules</a> for recalls once enabled.
1389
            - recalls. Make sure you configure <a href="/cgi-bin/koha/admin/smart-rules.pl">circulation and fines rules</a> for recalls once enabled.
1390
        -
1391
            - Automatically convert
1392
            - pref: ConvertSelectedReservesToRecalls
1393
              default: oldest
1394
              choices:
1395
                  oldest: the oldest reserve placed on the record
1396
                  recallable: one reserve for each item available to be recalled
1397
            - to a recall, once a specific number of reserves have been requested on the record.
1398
            - <span class="hint">This system preference is used by the convert_reserves_to_recalls.pl cronjob.</span>
1390
1399
1391
    SIP2:
1400
    SIP2:
1392
        -
1401
        -
1393
- 

Return to bug 32776