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

(-)a/installer/data/mysql/atomicupdate/bug_28529_itype_holds.pl (+17 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number => "28529",
5
    description => "Add BiblioHoldItemTypeUseForRules system preference",
6
    up => sub {
7
        my ($args) = @_;
8
        my ($dbh) = @$args{qw(dbh)};
9
10
        $dbh->do(q{
11
            INSERT IGNORE INTO systempreferences
12
                (variable,value,options,explanation,type)
13
            VALUES
14
                ('BiblioHoldItemTypeUseForRules','0','','If enabled, biblio-level holds with item type selected will honour circulation rules for item types','YesNo')
15
        });
16
    },
17
}
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 103-108 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
103
('BiblioAddsAuthorities','0',NULL,'If ON, adding a new biblio will check for an existing authority record and create one on the fly if one doesn\'t exist','YesNo'),
103
('BiblioAddsAuthorities','0',NULL,'If ON, adding a new biblio will check for an existing authority record and create one on the fly if one doesn\'t exist','YesNo'),
104
('BiblioDefaultView','normal','normal|marc|isbd','Choose the default detail view in the catalog; choose between normal, marc or isbd','Choice'),
104
('BiblioDefaultView','normal','normal|marc|isbd','Choose the default detail view in the catalog; choose between normal, marc or isbd','Choice'),
105
('BiblioItemtypeInfo','0','0','Control which itemtype info displays for biblio level itemtypes','YesNo'),
105
('BiblioItemtypeInfo','0','0','Control which itemtype info displays for biblio level itemtypes','YesNo'),
106
('BiblioHoldItemTypeUseForRules','1','','If enabled, biblio-level holds with item type selected will honour circulation rules for item types','YesNo'),
106
('BibtexExportAdditionalFields',  '', NULL ,  'Define additional BibTex tags to export from MARC records in YAML format as an associative array with either a marc tag/subfield combination as the value, or a list of tag/subfield combinations.',  'textarea'),
107
('BibtexExportAdditionalFields',  '', NULL ,  'Define additional BibTex tags to export from MARC records in YAML format as an associative array with either a marc tag/subfield combination as the value, or a list of tag/subfield combinations.',  'textarea'),
107
('BlockExpiredPatronOpacActions','1',NULL,'Set whether an expired patron can perform opac actions such as placing holds or renew books, can be overridden on a per patron-type basis','YesNo'),
108
('BlockExpiredPatronOpacActions','1',NULL,'Set whether an expired patron can perform opac actions such as placing holds or renew books, can be overridden on a per patron-type basis','YesNo'),
108
('BlockReturnOfLostItems','0','0','If enabled, items that are marked as lost cannot be returned.','YesNo'),
109
('BlockReturnOfLostItems','0','0','If enabled, items that are marked as lost cannot be returned.','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +5 lines)
Lines 681-686 Circulation: Link Here
681
                  1: Allow
681
                  1: Allow
682
                  0: "Don't allow"
682
                  0: "Don't allow"
683
            - hold fulfillment to be limited by item type.
683
            - hold fulfillment to be limited by item type.
684
            - pref: BiblioHoldItemTypeUseForRules
685
              choices:
686
                  1: Consider
687
                  0: "Don't consider"
688
            - biblio-level hold item type when checking holdability.
684
        -
689
        -
685
            - pref: AllowRenewalIfOtherItemsAvailable
690
            - pref: AllowRenewalIfOtherItemsAvailable
686
              choices:
691
              choices:
687
- 

Return to bug 28529