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

(-)a/installer/data/mysql/updatedatabase.pl (+14 lines)
Lines 8487-8492 if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { Link Here
8487
    SetVersion($DBversion);
8487
    SetVersion($DBversion);
8488
}
8488
}
8489
8489
8490
$DBversion = "3.15.00.XXX";
8491
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
8492
    $dbh->do(q{
8493
        INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('SubfieldsToAllowForRestrictedEdition','','Define a list of subfields for which edition is authorized when edit_items_restricted permission is enabled, separated by spaces. Example: 995\$f 995\$h 995\$j','','Free');
8494
    });
8495
8496
    $dbh->do(q{
8497
        INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('SubfieldsToAllowForRestrictedBatchmod','','Define a list of subfields for which edition is authorized when items_batchmod_restricted permission is enabled, separated by spaces. Example: 995\$f 995\$h 995\$j','','Free');
8498
    });
8499
8500
    print "Upgrade to $DBversion done (Bug 7673: Adds new systemp preference SubfieldsToAllowForRestrictedEdition and SubfieldsToAllowForRestrictedBatchmod)\n";
8501
    SetVersion($DBversion);
8502
}
8503
8490
=head1 FUNCTIONS
8504
=head1 FUNCTIONS
8491
8505
8492
=head2 TableExists($table)
8506
=head2 TableExists($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref (-1 / +14 lines)
Lines 109-114 Cataloging: Link Here
109
            - pref: UNIMARCField100Language
109
            - pref: UNIMARCField100Language
110
              class: short
110
              class: short
111
            - as default language in the UNIMARC field 100 when creating a new record or in the field plugin.
111
            - as default language in the UNIMARC field 100 when creating a new record or in the field plugin.
112
        -
113
            - Define a list of subfields for which edition is authorized when edit_items_restricted permission is enabled, separated by spaces.
114
            - pref: SubfieldsToAllowForRestrictedEdition
115
            - 'Examples:'
116
            - 'UNIMARC: "995$f 995$h 995$j"'
117
            - 'MARC21: "952$a 952$b 952$c"'
118
            - Note that the FA framework is excluded from the permission.
119
        -
120
            - Define a list of subfields for which edition is authorized when items_batchmod_restricted permission is enabled, separated by spaces.
121
            - pref: SubfieldsToAllowForRestrictedBatchmod
122
            - 'Examples:'
123
            - 'UNIMARC: "995$f 995$h 995$j"'
124
            - 'MARC21: "952$a 952$b 952$c"'
125
            - Note that the FA framework is excluded from the permission.
112
    Display:
126
    Display:
113
        -
127
        -
114
            - 'Separate multiple displayed authors, series or subjects with '
128
            - 'Separate multiple displayed authors, series or subjects with '
115
- 

Return to bug 7673