Bugzilla – Attachment 145193 Details for
Bug 32596
Background jobs viewer not showing finished jobs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32596: Filter jobs by enqueued on, not started on
Bug-32596-Filter-jobs-by-enqueued-on-not-started-o.patch (text/plain), 1.80 KB, created by
ByWater Sandboxes
on 2023-01-10 15:51:49 UTC
(
hide
)
Description:
Bug 32596: Filter jobs by enqueued on, not started on
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2023-01-10 15:51:49 UTC
Size:
1.80 KB
patch
obsolete
>From ed2aa0def0fe14f69267fddf53047eb7068f3139 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 9 Jan 2023 14:09:29 +0000 >Subject: [PATCH] Bug 32596: Filter jobs by enqueued on, not started on > >To test: >1 - Do a bunch of stuff in the staff interface the will generate background jobs >2 - Wait a bit to make sure all the jobs are done >3 - Visit Admin->Jobs >4 - Note there is nothing shown >5 - uncheck 'Current jobs only' and 'Only include jobs started in the last hour' >6 - Note that nothing is shown, but header says '(filtered from X jobs)' >7 - Apply patch >8 - Reload table >9 - Confirm you can see the finished jobs now > >Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> >--- > .../intranet-tmpl/prog/en/modules/admin/background_jobs.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >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..f65d8189f9 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 >@@ -128,7 +128,7 @@ > > <div> > <input type="checkbox" id="include_last_hour" checked /> >- <label for="include_last_hour">Only include jobs started in the last hour</label> >+ <label for="include_last_hour">Only include jobs enqueued in the last hour</label> > </div> > > <div class="page-section"> >@@ -251,7 +251,7 @@ > [% END %] > > let additional_filters = { >- started_on: function(){ >+ enqueued_on: function(){ > let now = new Date(); > if ( $("#include_last_hour").is(":checked") ) { > now.setHours(now.getHours() - 1); >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32596
:
145146
|
145193
|
145199