From ff08a4ff92e16f4aa0e8378263be757df957c606 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 --- 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.30.2