diff --git a/frontend/views/search/_customer_list_view.php b/frontend/views/search/_customer_list_view.php
index 88672d9..5d77710 100644
--- a/frontend/views/search/_customer_list_view.php
+++ b/frontend/views/search/_customer_list_view.php
@@ -35,7 +35,7 @@
?>
- = $model->getComments()->count() ?> отзывов
+ = count($model->comments) ?> отзывов
userInfo->city )) {
echo ", {$model->userInfo->city}";
@@ -63,7 +63,7 @@
?>
- = Html::a("Заказано проектов {$model->getProjects()->count()}", ['search/project', (new Project())->formName().'[user_id]' => $model->id]) ?>
+ = Html::a("Заказано проектов ".count($model->projects), ['search/project', (new Project())->formName().'[user_id]' => $model->id]) ?>
--
libgit2 0.21.4