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

(-)a/C4/Reserves.pm (-1 / +15 lines)
Lines 1150-1155 if $transferToDo is not set, then the status is set to "Waiting" as well. Link Here
1150
otherwise, a transfer is on the way, and the end of the transfer will
1150
otherwise, a transfer is on the way, and the end of the transfer will
1151
take care of the waiting status
1151
take care of the waiting status
1152
1152
1153
This function also removes any entry of the hold in holds queue table.
1154
1153
=cut
1155
=cut
1154
1156
1155
sub ModReserveAffect {
1157
sub ModReserveAffect {
Lines 1205-1210 sub ModReserveAffect { Link Here
1205
      CartToShelf( $itemnumber );
1207
      CartToShelf( $itemnumber );
1206
    }
1208
    }
1207
1209
1210
    my $std = $dbh->prepare(q{
1211
        DELETE  q, t
1212
        FROM    tmp_holdsqueue q
1213
        INNER JOIN hold_fill_targets t
1214
        ON  q.borrowernumber = t.borrowernumber
1215
            AND q.biblionumber = t.biblionumber
1216
            AND q.itemnumber = t.itemnumber
1217
            AND q.item_level_request = t.item_level_request
1218
            AND q.holdingbranch = t.source_branchcode
1219
        WHERE t.reserve_id = ?
1220
    });
1221
    $std->execute($hold->reserve_id);
1222
1208
    logaction( 'HOLDS', 'MODIFY', $hold->reserve_id, Dumper($hold->unblessed) )
1223
    logaction( 'HOLDS', 'MODIFY', $hold->reserve_id, Dumper($hold->unblessed) )
1209
        if C4::Context->preference('HoldsLog');
1224
        if C4::Context->preference('HoldsLog');
1210
1225
1211
- 

Return to bug 24359