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

(-)a/C4/Items.pm (-8 / +8 lines)
Lines 2278-2290 sub MoveItemFromBiblio { Link Here
2278
	        C4::Acquisition::ModOrder($order);
2278
	        C4::Acquisition::ModOrder($order);
2279
	    }
2279
	    }
2280
2280
2281
        # Update holds
2281
        # Update reserves, hold_fill_targets, tmp_holdsqueue and linktracker tables
2282
        $dbh->do( q|
2282
        for my $table_name ( qw( reserves hold_fill_targets tmp_holdsqueue linktracker ) ) {
2283
            UPDATE reserves
2283
            $dbh->do( qq|
2284
            SET biblionumber = ?
2284
                UPDATE $table_name
2285
            WHERE itemnumber = ?
2285
                SET biblionumber = ?
2286
        |, undef, $tobiblio, $itemnumber );
2286
                WHERE itemnumber = ?
2287
2287
            |, undef, $tobiblio, $itemnumber );
2288
        }
2288
        return $tobiblio;
2289
        return $tobiblio;
2289
	}
2290
	}
2290
    return;
2291
    return;
2291
- 

Return to bug 8723