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

(-)a/C4/Reserves.pm (-3 / +4 lines)
Lines 1663-1668 when _FixPriority calls itself. Link Here
1663
1663
1664
sub _FixPriority {
1664
sub _FixPriority {
1665
    my ( $params ) = @_;
1665
    my ( $params ) = @_;
1666
    warn "_FixPriority: " . Data::Dumper::Dumper( $params );
1666
    my $reserve_id = $params->{reserve_id};
1667
    my $reserve_id = $params->{reserve_id};
1667
    my $rank = $params->{rank} // '';
1668
    my $rank = $params->{rank} // '';
1668
    my $ignoreSetLowestRank = $params->{ignoreSetLowestRank};
1669
    my $ignoreSetLowestRank = $params->{ignoreSetLowestRank};
Lines 2113-2119 sub MergeHolds { Link Here
2113
2114
2114
=head2 RevertWaitingStatus
2115
=head2 RevertWaitingStatus
2115
2116
2116
  $success = RevertWaitingStatus({ itemnumber => $itemnumber });
2117
  RevertWaitingStatus({ itemnumber => $itemnumber });
2117
2118
2118
  Reverts a 'waiting' hold back to a regular hold with a priority of 1.
2119
  Reverts a 'waiting' hold back to a regular hold with a priority of 1.
2119
2120
Lines 2168-2174 sub RevertWaitingStatus { Link Here
2168
      reserve_id = ?
2169
      reserve_id = ?
2169
    ";
2170
    ";
2170
    $sth = $dbh->prepare( $query );
2171
    $sth = $dbh->prepare( $query );
2171
    return $sth->execute( $reserve->{'reserve_id'} );
2172
    $sth->execute( $reserve->{'reserve_id'} );
2173
    _FixPriority( { biblionumber => $reserve->{biblionumber} } );
2172
}
2174
}
2173
2175
2174
=head2 GetReserveId
2176
=head2 GetReserveId
2175
- 

Return to bug 12086