fix actions displaying incorrectly
This commit is contained in:
parent
cdd61123ea
commit
9af81b1d2c
|
|
@ -210,7 +210,7 @@ class OrganizationController extends AbstractController
|
|||
|
||||
$apps = $this->organizationsService->appsAccess($allApps, $orgApps);
|
||||
|
||||
$actions = $this->entityManager->getRepository(Actions::class)->findBy(['Organization' => $organization], limit: 15);
|
||||
$actions = $this->entityManager->getRepository(Actions::class)->findBy(['Organization' => $organization], orderBy: ['date' => 'DESC'], limit: 15);
|
||||
$activities = $this->actionService->formatActivities($actions);
|
||||
|
||||
$this->actionService->createAction("View Organization", $actingUser, $organization, $organization->getName());
|
||||
|
|
|
|||
Loading…
Reference in New Issue