From ee25bbd97080ed650b8d90fcee095db5296dcc59 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 1bd27a20513..8167ed39d0c 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.25.1