From aa4a75d887c412af68713bc945bddbd84ad2a542 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 28 Mar 2022 20:51:35 +0000 Subject: [PATCH] Bug 22659: (follow-up) Add category to redirect Signed-off-by: Sally Signed-off-by: Sally Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 347d9d733984170a04743510d50c5c8457484b60) Signed-off-by: Lucas Gass (cherry picked from commit 17281b62ef27742183c0f1c41fa83520cd70cf49) Signed-off-by: Arthur Suzuki --- tools/additional-contents.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/additional-contents.pl b/tools/additional-contents.pl index d0f492a8c9..d302b8be46 100755 --- a/tools/additional-contents.pl +++ b/tools/additional-contents.pl @@ -189,7 +189,7 @@ elsif ( $op eq 'add_validate' ) { } if( $redirect eq "just_save" ){ - print $cgi->redirect("/cgi-bin/koha/tools/additional-contents.pl?op=add_form&id=$id&editmode=$editmode&redirect=done"); + print $cgi->redirect("/cgi-bin/koha/tools/additional-contents.pl?op=add_form&id=$id&category=$category&editmode=$editmode&redirect=done"); exit; } else { $op = 'list'; -- 2.39.5