From b286be705cd988ecef3b3c1062f949f7f49acff4 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 7 Jan 2023 00:24:11 +0100 Subject: [PATCH] Bug 32580: Fix typo in cancel link on background jobs page One way to test: * Make sure you are using Elasticsearch * Edit a record in your catalog * Go to: /cgi-bin/koha/admin/background_jobs.pl * Uncheck 'Current jobs only' * Cancel the job, you'll see a 404 error * Apply patch * Repeat, now the redirect should work right Signed-off-by: David Nind --- .../intranet-tmpl/prog/en/modules/admin/background_jobs.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/background_jobs.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/background_jobs.tt index 2a18857b1b..8a0c760ec5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/background_jobs.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/background_jobs.tt @@ -333,7 +333,7 @@ "data": function( row, type, val, meta ) { var result = ' '+_("View")+''+"\n"; if ( row.status == 'new' || row.status == 'started' ) { - result += ' '+_("Cancel")+''; + result += ' '+_("Cancel")+''; } return result; }, -- 2.30.2