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

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

Return to bug 31154