mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-29 15:36:07 +00:00
fix kanban show more
This commit is contained in:
@@ -56,9 +56,16 @@ class GetData implements ActionAlias
|
||||
|
||||
$result = $this->service->getData($entityType, $searchParams);
|
||||
|
||||
$list = [];
|
||||
|
||||
foreach ($result->getGroups() as $group) {
|
||||
$list = [...$list, ...$group->collection->getValueMapList()];
|
||||
}
|
||||
|
||||
return ResponseComposer::json([
|
||||
'total' => $result->getTotal(),
|
||||
'groups' => array_map(fn ($it) => $it->toRaw(), $result->getGroups()),
|
||||
'list' => $list,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user