fix: [broods:add] Correctly index organisations by their ID
parent
5297c8206c
commit
9506142de5
|
@ -45,7 +45,7 @@ class BroodsController extends AppController
|
|||
$dropdownData = [
|
||||
'organisation' => $this->Organisations->find('list', [
|
||||
'sort' => ['name' => 'asc']
|
||||
])
|
||||
])->toArray()
|
||||
];
|
||||
$this->set(compact('dropdownData'));
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ class BroodsController extends AppController
|
|||
$dropdownData = [
|
||||
'organisation' => $this->Organisations->find('list', [
|
||||
'sort' => ['name' => 'asc']
|
||||
])
|
||||
])->toArray()
|
||||
];
|
||||
$this->set(compact('dropdownData'));
|
||||
$this->render('add');
|
||||
|
|
Loading…
Reference in New Issue