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

(-)a/C4/Reserves.pm (-1 / +15 lines)
Lines 1133-1138 if $transferToDo is not set, then the status is set to "Waiting" as well. Link Here
1133
otherwise, a transfer is on the way, and the end of the transfer will
1133
otherwise, a transfer is on the way, and the end of the transfer will
1134
take care of the waiting status
1134
take care of the waiting status
1135
1135
1136
This function also removes any entry of the hold in holds queue table.
1137
1136
=cut
1138
=cut
1137
1139
1138
sub ModReserveAffect {
1140
sub ModReserveAffect {
Lines 1188-1193 sub ModReserveAffect { Link Here
1188
      CartToShelf( $itemnumber );
1190
      CartToShelf( $itemnumber );
1189
    }
1191
    }
1190
1192
1193
    my $std = $dbh->prepare(q{
1194
        DELETE  q, t
1195
        FROM    tmp_holdsqueue q
1196
        INNER JOIN hold_fill_targets t
1197
        ON  q.borrowernumber = t.borrowernumber
1198
            AND q.biblionumber = t.biblionumber
1199
            AND q.itemnumber = t.itemnumber
1200
            AND q.item_level_request = t.item_level_request
1201
            AND q.holdingbranch = t.source_branchcode
1202
        WHERE t.reserve_id = ?
1203
    });
1204
    $std->execute($hold->reserve_id);
1205
1191
    logaction( 'HOLDS', 'MODIFY', $hold->reserve_id, Dumper($hold->unblessed) )
1206
    logaction( 'HOLDS', 'MODIFY', $hold->reserve_id, Dumper($hold->unblessed) )
1192
        if C4::Context->preference('HoldsLog');
1207
        if C4::Context->preference('HoldsLog');
1193
1208
1194
- 

Return to bug 24359