From 17281b62ef27742183c0f1c41fa83520cd70cf49 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 --- 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 f7fbb03f23..3d165216ea 100755 --- a/tools/additional-contents.pl +++ b/tools/additional-contents.pl @@ -192,7 +192,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