Merge pull request #2809 from gonzalezcalleja/master
Avoid duplicate monitors in API Fixes #2797
This commit is contained in:
commit
f5ce39ae24
|
@ -61,7 +61,8 @@ class MonitorsController extends AppController {
|
|||
'Groups_Monitors.MonitorId = Monitor.Id',
|
||||
),
|
||||
),
|
||||
)
|
||||
),
|
||||
'group' => '`Monitor`.`Id`',
|
||||
);
|
||||
$monitors = $this->Monitor->find('all',$find_array);
|
||||
$this->set(array(
|
||||
|
|
Loading…
Reference in New Issue