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

(-)a/tools/batchMod.pl (-2 / +3 lines)
Lines 266-272 if ($op eq "show"){ Link Here
266
    # Getting list of subfields to keep when restricted batchmod edit is enabled
266
    # Getting list of subfields to keep when restricted batchmod edit is enabled
267
    my @subfields_to_allow = $restrictededition ? split ' ', C4::Context->preference('SubfieldsToAllowForRestrictedBatchmod') : ();
267
    my @subfields_to_allow = $restrictededition ? split ' ', C4::Context->preference('SubfieldsToAllowForRestrictedBatchmod') : ();
268
268
269
    my $subfields = Koha::UI::Form::Builder::Item->new->edit_form(
269
    $biblionumber = Koha::Items->find($itemnumbers[0])->unblessed->{biblionumber};
270
    my $subfields = Koha::UI::Form::Builder::Item->new(
271
        { biblionumber => $biblionumber } )->edit_form(
270
        {
272
        {
271
            restricted_editition => $restrictededition,
273
            restricted_editition => $restrictededition,
272
            (
274
            (
273
- 

Return to bug 31154