Bugzilla – Attachment 171405 Details for
Bug 37905
Correctly fix the "last hour" filter on the job list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37905: Fix parameter name
Bug-37905-Fix-parameter-name.patch (text/plain), 1.13 KB, created by
Jonathan Druart
on 2024-09-12 14:37:35 UTC
(
hide
)
Description:
Bug 37905: Fix parameter name
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-09-12 14:37:35 UTC
Size:
1.13 KB
patch
obsolete
>From b1457147c3c76857c5f567c7d77697653574e7e4 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 4 Sep 2024 14:24:45 +0200 >Subject: [PATCH] Bug 37905: Fix parameter name > >It's named enqueued_date on the API side, not enqueued_on (which is the DB >column's name) > >No behaviour change expected here. >--- > .../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 1c266d9f52a..9ca777c1e00 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 >@@ -260,7 +260,7 @@ > [% END %] > > let additional_filters = { >- enqueued_on: function(){ >+ enqueued_date: function(){ > if ( $("#include_last_hour").is(":checked") ) { > return { ">": dayjs().subtract(1, 'hour').format() }; > } else { >-- >2.34.1
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 37905
:
171386
|
171387
|
171388
|
171404
|
171405
|
171759
|
171760
|
171761
|
172902
|
172903
|
172904