mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
update Operators ajaxLoad for new format
This commit is contained in:
parent
6f56e082e2
commit
53b2b02e97
@ -1 +1 @@
|
|||||||
Subproject commit 116e2b660676334a593658b46ead01f03a057f1e
|
Subproject commit 6da1128ca99ba7f74877089504a4ad43247ad436
|
||||||
@ -96,10 +96,10 @@ class OperatorsController extends AppController
|
|||||||
public function ajaxLoad()
|
public function ajaxLoad()
|
||||||
{
|
{
|
||||||
if ($this->request->is('get')) {
|
if ($this->request->is('get')) {
|
||||||
$usernamePasswordHash = $this->request->getQuery('usernamePasswordHash');
|
$username = $this->request->getQuery('username');
|
||||||
$operators = $this->Operators
|
$operators = $this->Operators
|
||||||
->find()
|
->find()
|
||||||
->where(['usernamePasswordHash' => $usernamePasswordHash])
|
->where(['username' => $username])
|
||||||
->contain(['OperatorTypes'])
|
->contain(['OperatorTypes'])
|
||||||
->select(['data_base64', 'OperatorTypes.name'])
|
->select(['data_base64', 'OperatorTypes.name'])
|
||||||
->toArray();
|
->toArray();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user