From e9ac367a052d1a3669f7077f710c809ab75b20b0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 13 Jun 2022 11:34:21 +0200 Subject: [PATCH] Bug 30462: Fix display of the complete jobs We want to display the jobs terminated in the last hour, not today. Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- admin/background_jobs.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/background_jobs.pl b/admin/background_jobs.pl index cccb3bba57..761c09d069 100755 --- a/admin/background_jobs.pl +++ b/admin/background_jobs.pl @@ -96,14 +96,14 @@ if ( $op eq 'list' ) { $can_manage_background_jobs ? Koha::BackgroundJobs->search( { - ended_on => { '>=' => $dtf->format_date($ended_since) } + ended_on => { '>=' => $dtf->format_datetime($ended_since) } }, { order_by => { -desc => 'enqueued_on' } } ) : Koha::BackgroundJobs->search( { borrowernumber => $logged_in_user->borrowernumber, - ended_on => { '>=' => $dtf->format_date($ended_since) } + ended_on => { '>=' => $dtf->format_datetime($ended_since) } }, { order_by => { -desc => 'enqueued_on' } } ); -- 2.39.5