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

(-)a/C4/Reserves.pm (-2 / +1 lines)
Lines 2014-2020 This shifts the holds from C<$from_biblio> to C<$to_biblio> and reorders them by Link Here
2014
sub MergeHolds {
2014
sub MergeHolds {
2015
    my ( $dbh, $to_biblio, $from_biblio ) = @_;
2015
    my ( $dbh, $to_biblio, $from_biblio ) = @_;
2016
    my $sth = $dbh->prepare(
2016
    my $sth = $dbh->prepare(
2017
        "SELECT count(*) as reserve_id FROM reserves WHERE biblionumber = ?"
2017
        "SELECT count(*) as reserve_count FROM reserves WHERE biblionumber = ?"
2018
    );
2018
    );
2019
    $sth->execute($from_biblio);
2019
    $sth->execute($from_biblio);
2020
    if ( my $data = $sth->fetchrow_hashref() ) {
2020
    if ( my $data = $sth->fetchrow_hashref() ) {
2021
- 

Return to bug 9394