From 14d6a10de992db89b4730c37fc0d0b86f7467378 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 11 Jan 2019 12:41:29 +0000 Subject: [PATCH] Bug 20640: (follow-up) Redirect to new request at completion Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens --- ill/ill-requests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ill/ill-requests.pl b/ill/ill-requests.pl index 77a8d05560..792b93d241 100755 --- a/ill/ill-requests.pl +++ b/ill/ill-requests.pl @@ -98,6 +98,7 @@ if ( $backends_available ) { whole => $backend_result, request => $new_request ); + $request = $new_request; } else { # backend failure $backend_result = { @@ -115,7 +116,6 @@ if ( $backends_available ) { } } else { - $request = Koha::Illrequests->find( $params->{illrequest_id} ); $backend_result = $request->backend_migrate($params); $template->param( whole => $backend_result, -- 2.39.5