mirror of https://github.com/MISP/MISP
commit
c162443fe5
|
@ -1393,7 +1393,7 @@ class EventsController extends AppController {
|
|||
'fields' => array('id', 'progress'),
|
||||
'conditions' => array(
|
||||
'job_type' => 'cache_' . $k,
|
||||
'org' => $useOrg
|
||||
'org_id' => $useOrg
|
||||
),
|
||||
'order' => array('Job.id' => 'desc')
|
||||
));
|
||||
|
|
|
@ -70,7 +70,7 @@ class JobsController extends AppController {
|
|||
$progress = $this->Job->find('first', array(
|
||||
'conditions' => array(
|
||||
'job_type' => $type,
|
||||
'org' => $org
|
||||
'org_id' => $org
|
||||
),
|
||||
'fields' => array('id', 'progress'),
|
||||
'order' => array('Job.id' => 'desc'),
|
||||
|
|
Loading…
Reference in New Issue