Bug 30982: Adapt table to new API spec
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 12 Sep 2022 17:54:08 +0000 (14:54 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 23 Sep 2022 11:57:49 +0000 (08:57 -0300)
commit0480f61226ce2d6e3ddcb0e028f26e6d45b30e4d
treeed0ea225d05aceb155dde9f2807ccd342048a188
parent88cc881521178f268c563e305aed8ff75fbcbd7a
Bug 30982: Adapt table to new API spec

Disclaimer: this patch is highly opinionated :-D

When I started looking at this patch I felt like the two tables
(current/past jobs) implemented on bug 30462 was the way to go.

In order to make this patches apply after it I had to redo all the
things. Or most of them.

But I decided to keep the idea of filtering out completed tasks, not
just having the option to display 'the last hour' tasks. For the task I
added some required helper methods and the relevant tests as well. So a
behavior change.

Hope you all agree with it.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/background_jobs.tt