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

(-)a/installer/data/mysql/atomicupdate/bug_32776_-_add_ConvertSelectedReservesToRecalls_syspref.pl (+16 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(
11
            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') }
12
        );
13
14
        say $out "Added system preference 'ConvertSelectedReservesToRecalls'";
15
    },
16
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (-1 / +2 lines)
Lines 180-185 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
180
('ConsiderLibraryHoursInCirculation', 'close', 'close|open|ignore', "Take library opening hours into consideration to calculate due date when circulating.", 'Choice'),
180
('ConsiderLibraryHoursInCirculation', 'close', 'close|open|ignore', "Take library opening hours into consideration to calculate due date when circulating.", 'Choice'),
181
('ConsiderOnSiteCheckoutsAsNormalCheckouts','1',NULL,'Consider on-site checkouts as normal checkouts','YesNo'),
181
('ConsiderOnSiteCheckoutsAsNormalCheckouts','1',NULL,'Consider on-site checkouts as normal checkouts','YesNo'),
182
('ContentWarningField', '', NULL, 'MARC field to use for content warnings', 'Free'),
182
('ContentWarningField', '', NULL, 'MARC field to use for content warnings', 'Free'),
183
('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'),
183
('CookieConsent', '0', NULL, 'Require cookie consent to be displayed', 'YesNo'),
184
('CookieConsent', '0', NULL, 'Require cookie consent to be displayed', 'YesNo'),
184
('CookieConsentedJS', '', NULL, 'Add Javascript code that will run if cookie consent is provided (e.g. tracking code).', 'Free'),
185
('CookieConsentedJS', '', NULL, 'Add Javascript code that will run if cookie consent is provided (e.g. tracking code).', 'Free'),
185
('CreateAVFromCataloguing', '1', '', 'Ability to create authorized values from the cataloguing module', 'YesNo'),
186
('CreateAVFromCataloguing', '1', '', 'Ability to create authorized values from the cataloguing module', 'YesNo'),
Lines 889-892 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
889
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
890
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
890
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo'),
891
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo'),
891
('z3950Status','','','This syspref allows to define custom YAML based rules for marking items unavailable in z3950 results.','Textarea')
892
('z3950Status','','','This syspref allows to define custom YAML based rules for marking items unavailable in z3950 results.','Textarea')
892
;
893
;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +9 lines)
Lines 1497-1502 Circulation: Link Here
1497
                  staff: can be placed through the staff interface only
1497
                  staff: can be placed through the staff interface only
1498
                  opac_and_staff: can be placed through both the OPAC and staff interface
1498
                  opac_and_staff: can be placed through both the OPAC and staff interface
1499
            - . Make sure you configure <a href="/cgi-bin/koha/admin/smart-rules.pl">circulation and fine rules</a> for recalls when enabled.
1499
            - . Make sure you configure <a href="/cgi-bin/koha/admin/smart-rules.pl">circulation and fine rules</a> for recalls when enabled.
1500
        -
1501
            - Automatically convert
1502
            - pref: ConvertSelectedReservesToRecalls
1503
              default: oldest
1504
              choices:
1505
                  oldest: the oldest reserve placed on the record
1506
                  recallable: one reserve for each item available to be recalled
1507
            - to a recall, once a specific number of reserves have been requested on the record.
1508
            - <span class="hint">This system preference is used by the convert_reserves_to_recalls.pl cronjob.</span>
1500
1509
1501
    SIP2:
1510
    SIP2:
1502
        -
1511
        -
1503
- 

Return to bug 32776