From ff9b5f1275c50dad5b77b39df15c065a8b58bf8f 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 Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 2e8995343ed5628eb5227dd6a09d1e9263671c11) Signed-off-by: Jacob O'Mara --- .../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 f65d8189f9..c482d0d74c 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.39.5