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

(-)a/C4/Reserves.pm (-1 / +15 lines)
Lines 1162-1167 if $transferToDo is not set, then the status is set to "Waiting" as well. Link Here
1162
otherwise, a transfer is on the way, and the end of the transfer will
1162
otherwise, a transfer is on the way, and the end of the transfer will
1163
take care of the waiting status
1163
take care of the waiting status
1164
1164
1165
This function also removes any entry of the hold in holds queue table.
1166
1165
=cut
1167
=cut
1166
1168
1167
sub ModReserveAffect {
1169
sub ModReserveAffect {
Lines 1217-1222 sub ModReserveAffect { Link Here
1217
      CartToShelf( $itemnumber );
1219
      CartToShelf( $itemnumber );
1218
    }
1220
    }
1219
1221
1222
    my $std = $dbh->prepare(q{
1223
        DELETE  q, t
1224
        FROM    tmp_holdsqueue q
1225
        INNER JOIN hold_fill_targets t
1226
        ON  q.borrowernumber = t.borrowernumber
1227
            AND q.biblionumber = t.biblionumber
1228
            AND q.itemnumber = t.itemnumber
1229
            AND q.item_level_request = t.item_level_request
1230
            AND q.holdingbranch = t.source_branchcode
1231
        WHERE t.reserve_id = ?
1232
    });
1233
    $std->execute($hold->reserve_id);
1234
1220
    logaction( 'HOLDS', 'MODIFY', $hold->reserve_id, Dumper($hold->unblessed) )
1235
    logaction( 'HOLDS', 'MODIFY', $hold->reserve_id, Dumper($hold->unblessed) )
1221
        if C4::Context->preference('HoldsLog');
1236
        if C4::Context->preference('HoldsLog');
1222
1237
1223
- 

Return to bug 24359