https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36217

--- Comment #4 from David Cook <[email protected]> ---
Actually, it's a bit funny how "Current jobs only" and "Only include jobs
enqueued in the last hour" are handled completely differently. We don't really
need to send a timestamp even, since we know it's always going to be just the
last hour. 

It would be better to have a "only_last_hour" parameter sent by
"koha-tmpl/intranet-tmpl/prog/en/modules/admin/background_jobs.tt" and picked
up in "Koha/REST/V1/BackgroundJobs.pm"

There we can generate a timestamp that is (now - 1 hour) with a timezone that
matches our database connection (see "sub dbh" in Koha/Database.pm for more
details about the db connection).

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to