fix: [alignments] missing contains added
parent
fd6d3466d7
commit
760badd268
|
@ -23,6 +23,7 @@ class AlignmentsController extends AppController
|
||||||
$alignments = $query->all();
|
$alignments = $query->all();
|
||||||
return $this->RestResponse->viewData($alignments, 'json');
|
return $this->RestResponse->viewData($alignments, 'json');
|
||||||
} else {
|
} else {
|
||||||
|
$this->paginate['contain'] = ['Individuals', 'Organisations'];
|
||||||
$alignments = $this->paginate($query);
|
$alignments = $this->paginate($query);
|
||||||
$this->set('data', $alignments);
|
$this->set('data', $alignments);
|
||||||
$this->set('metaGroup', 'ContactDB');
|
$this->set('metaGroup', 'ContactDB');
|
||||||
|
|
Loading…
Reference in New Issue