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

(-)a/reserve/request.pl (-2 / +5 lines)
Lines 126-131 if ( $op eq 'cud-move' ) { Link Here
126
        { order_by   => { -asc => 'priority' } }
126
        { order_by   => { -asc => 'priority' } }
127
    )->as_list;
127
    )->as_list;
128
128
129
    #need to get the biblionumber of the original hold
130
    my $original_biblionumber = $moving_holds[0]->biblionumber;
131
129
    #Get the highest current priority of the target biblio
132
    #Get the highest current priority of the target biblio
130
    my $highest_priority = Koha::Holds->search(
133
    my $highest_priority = Koha::Holds->search(
131
        { biblionumber => $new_biblionumber },
134
        { biblionumber => $new_biblionumber },
Lines 168-174 if ( $op eq 'cud-move' ) { Link Here
168
        }
171
        }
169
    }
172
    }
170
173
171
    push @biblionumbers, $new_biblionumber;
174
    C4::Reserves::_FixPriority( { biblionumber => $original_biblionumber } );
175
    push @biblionumbers, $original_biblionumber;
172
176
173
    $template->param(
177
    $template->param(
174
        hold_move_successes => \@success_messages,
178
        hold_move_successes => \@success_messages,
175
- 

Return to bug 31698