View | Details | Raw Unified | Return to bug 37905
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/background_jobs.tt (-5 / +2 lines)
Lines 261-272 Link Here
261
261
262
            let additional_filters = {
262
            let additional_filters = {
263
                enqueued_on: function(){
263
                enqueued_on: function(){
264
                    let now = new Date();
265
                    if ( $("#include_last_hour").is(":checked") ) {
264
                    if ( $("#include_last_hour").is(":checked") ) {
266
                        now.setHours(now.getHours() - 1);
265
                        return { ">": dayjs().subtract(1, 'hour').format() };
267
                        return { ">": now.toISOString() };
268
                    } else {
266
                    } else {
269
                        return { "<": now.toISOString() };
267
                        return { "<": dayjs().format()};
270
                    }
268
                    }
271
                }
269
                }
272
            };
270
            };
273
- 

Return to bug 37905