overcount => $overcount,
show_date => output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 1 }),
ReservesMaxPickUpDelay => $max_pickup_delay,
+ tab => $tab,
);
-if ($item && $tab eq 'holdsover') {
+if ($item && $tab eq 'holdsover' && !@cancel_result) {
print $input->redirect("/cgi-bin/koha/circ/waitingreserves.pl#holdsover");
} elsif ($cancelall) {
print $input->redirect("/cgi-bin/koha/circ/waitingreserves.pl");
<p><strong>[% nextreservtitle %]</strong> is on hold for <strong> [% nextreservsurname %], [% nextreservfirstname %]</strong>.
Please retain this item and check it in to process the hold.
</p>
- <form name="cancelReservewithtransfert" action="waitingreserves.pl" method="post">
- <input type="submit" class="submit" value="OK" />
+ <form name="cancelReservewithtransfert" action="waitingreserves.p#[% tab %]" method="post">
+ <input class="btn" type="submit" class="submit" value="OK" />
</form>
</div>
[% END %]
<p><strong>[% nextreservtitle %]</strong> is on hold for <strong>[% nextreservsurname %], [% nextreservfirstname %]</strong>.
Please retain this item and check it in to process the hold.
</p>
- <form name="cancelReservewithwaiting" action="waitingreserves.pl" method="post">
- <input type="submit" class="submit" value="OK"/>
+ <form name="cancelReservewithwaiting" action="waitingreserves.pl#[% tab %]" method="post">
+ <input class="btn" type="submit" class="submit" value="OK"/>
</form>
</div>
[% END %]