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

(-)a/C4/Biblio.pm (+1 lines)
Lines 1442-1447 sub GetMarcPrice { Link Here
1442
=head2 MungeMarcPrice
1442
=head2 MungeMarcPrice
1443
1443
1444
Return the best guess at what the actual price is from a price field.
1444
Return the best guess at what the actual price is from a price field.
1445
1445
=cut
1446
=cut
1446
1447
1447
sub MungeMarcPrice {
1448
sub MungeMarcPrice {
(-)a/C4/Items.pm (-1 / +1 lines)
Lines 666-672 sub DelItem { Link Here
666
666
667
    unless ($biblionumber) {
667
    unless ($biblionumber) {
668
        my $item = Koha::Items->find( $itemnumber );
668
        my $item = Koha::Items->find( $itemnumber );
669
        $biblionumber = $item->biblio->biblionumber;
669
        $biblionumber = $item ? $item->biblio->biblionumber : undef;
670
    }
670
    }
671
671
672
    # If there is no biblionumber for the given itemnumber, there is nothing to delete
672
    # If there is no biblionumber for the given itemnumber, there is nothing to delete
(-)a/tools/batchMod.pl (-2 / +6 lines)
Lines 125-131 if ($op eq "action") { Link Here
125
        my @simple_items_display = map {
125
        my @simple_items_display = map {
126
            my $itemnumber = $_;
126
            my $itemnumber = $_;
127
            my $item = Koha::Items->find($itemnumber);
127
            my $item = Koha::Items->find($itemnumber);
128
            { itemnumber => $itemnumber, barcode => ($item->barcode || q||), biblionumber => $item->biblio->biblionumber }} @itemnumbers;
128
            {
129
                itemnumber   => $itemnumber,
130
                barcode      => $item ? ( $item->barcode // q{} ) : q{},
131
                biblionumber => $item ? $item->biblio->biblionumber : q{},
132
            };
133
        } @itemnumbers;
129
	    $template->param("simple_items_display" => \@simple_items_display);
134
	    $template->param("simple_items_display" => \@simple_items_display);
130
	}
135
	}
131
136
132
- 

Return to bug 18277