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

(-)a/Koha/Items.pm (-3 / +4 lines)
Lines 584-592 sub batch_update { Link Here
584
            )
584
            )
585
        } catch {
585
        } catch {
586
            push @errors, {
586
            push @errors, {
587
                itemnumber => $item->itemnumber,
587
                biblionumber => $item->biblionumber,
588
                barcode    => $item->barcode,
588
                itemnumber   => $item->itemnumber,
589
                error      => eval { $_->message } || eval { $_->error } || "$_",
589
                barcode      => $item->barcode,
590
                error        => eval { $_->message } || "$_",
590
            };
591
            };
591
            warn $_
592
            warn $_
592
        };
593
        };
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_item_record_modification.inc (-2 / +1 lines)
Lines 26-32 Link Here
26
                    <ul>
26
                    <ul>
27
                        [% FOR error IN report.errors %]
27
                        [% FOR error IN report.errors %]
28
                            <li>
28
                            <li>
29
                                [% error.barcode | html %]
29
                                <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% error.biblionumber | uri %]#item[% error.itemnumber | uri %]">[% error.barcode | html %]</a>
30
                                [% IF error.error == 'intransit_cannot_withdraw' %]
30
                                [% IF error.error == 'intransit_cannot_withdraw' %]
31
                                    : [% t('Item is in transit') | html %]
31
                                    : [% t('Item is in transit') | html %]
32
                                [% ELSIF error.error == 'onloan_cannot_withdraw' %]
32
                                [% ELSIF error.error == 'onloan_cannot_withdraw' %]
33
- 

Return to bug 41884