@@ -, +, @@ errors - fixes the displays of opac-recalls.pl and opac-recall.pl - fix the error on Recalls to pull page - fix JS error preventing Recalled link from showing in checkouts table - fix cancelling of recall when checking out item --- circ/circulation.pl | 3 +-- .../prog/en/modules/recalls/recalls_to_pull.tt | 3 +-- koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 2 +- .../opac-tmpl/bootstrap/en/modules/opac-recall.tt | 28 ++++++++++++++-------- .../opac-tmpl/bootstrap/en/modules/opac-recalls.tt | 24 ++++++++++++------- 5 files changed, 36 insertions(+), 24 deletions(-) --- a/circ/circulation.pl +++ a/circ/circulation.pl @@ -174,7 +174,7 @@ if ( $restoreduedatespec && $restoreduedatespec eq "highholds_empty" ) { my $issueconfirmed = $query->param('issueconfirmed'); my $cancelreserve = $query->param('cancelreserve'); my $cancel_recall = $query->param('cancel_recall'); -my $recall_id = $query->param('recall_id'); +my $recall_id = $query->param('recall_id'); my $debt_confirmed = $query->param('debt_confirmed') || 0; # Don't show the debt error dialog twice my $charges = $query->param('charges') || q{}; @@ -394,7 +394,6 @@ if (@$barcodes) { } unless($confirm_required) { my $switch_onsite_checkout = exists $messages->{ONSITE_CHECKOUT_WILL_BE_SWITCHED}; - my $recall_id = $messages->{RECALLED}; my $issue = AddIssue( $patron->unblessed, $barcode, $datedue, $cancelreserve, undef, undef, { onsite_checkout => $onsite_checkout, auto_renew => $session->param('auto_renew'), switch_onsite_checkout => $switch_onsite_checkout, cancel_recall => $cancel_recall, recall_id => $recall_id, } ); $template_params->{issue} = $issue; $session->clear('auto_renew'); --- a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_to_pull.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_to_pull.tt @@ -61,8 +61,7 @@