diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php index 5d74a6a..f51bd0a 100755 --- a/Admin/Routes/Web/Backend.php +++ b/Admin/Routes/Web/Backend.php @@ -1,4 +1,16 @@ -addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003102001, $request, $response)); $client = ClientMapper - ::with('files', limit: 5, orderBy: 'createdAt', sortOrder: 'ASC') - ::with('notes', limit: 5, orderBy: 'id', sortOrder: 'ASC') + ::with('files', limit: 5)::orderBy('createdAt', 'ASC') + ::with('notes', limit: 5)::orderBy('id', 'ASC') ::get((int) $request->getData('id')); $view->setData('client', $client);