#601 fix job queue no longer shows running or queued jobs

This commit is contained in:
Oliver Gorwits
2019-06-02 07:54:00 +01:00
parent 5d5bfc9a68
commit 86387627f6
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2.042010 - 2019-06-02
[BUG FIXES]
* #601 fix job queue no longer shows running or queued jobs
2.042009 - 2019-05-30
[ENHANCEMENTS]

View File

@@ -271,7 +271,10 @@ sub jq_complete {
sub jq_log {
return schema('netdisco')->resultset('Admin')->search({
'me.log' => { '-not_like' => 'duplicate of %' },
-or => [
{ 'me.log' => undef },
{ 'me.log' => { '-not_like' => 'duplicate of %' } },
],
}, {
prefetch => 'target',
order_by => { -desc => [qw/entered device action/] },