diff --git a/src/app/user/controllers/UserController.php b/src/app/user/controllers/UserController.php index dbcc48400bde31780f0119dbc0a0fd406bc6eafa..353de4c6f3789cf38da6cfc44942437385091d62 100755 --- a/src/app/user/controllers/UserController.php +++ b/src/app/user/controllers/UserController.php @@ -455,7 +455,8 @@ class UserController $user = UserModel::getById(['id' => $aArgs['id'], 'select' => ['user_id']]); return $response->withJson([ - 'baskets' => BasketModel::getBasketsByUserId(['userId' => $user['user_id'], 'unneededBasketId' => ['IndexingBasket']]) + 'redirectedBaskets' => RedirectBasketModel::getRedirectedBasketsByUserId(['userId' => $aArgs['id']]), + 'baskets' => BasketModel::getBasketsByUserId(['userId' => $user['user_id'], 'unneededBasketId' => ['IndexingBasket']]) ]); }