Commit db659e197a1cf9331dd313a681dda0da50def439
1 parent
78ab7436
test
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
frontend/views/search/_customer_list_view.php
| ... | ... | @@ -35,7 +35,7 @@ |
| 35 | 35 | ?> |
| 36 | 36 | </div> |
| 37 | 37 | <div class="search_perform-stars-txt"> |
| 38 | - <?= $model->getComments()->count() ?> отзывов | |
| 38 | + <?= count($model->comments) ?> отзывов | |
| 39 | 39 | <?php |
| 40 | 40 | if(!empty( $model->userInfo->city )) { |
| 41 | 41 | echo ", {$model->userInfo->city}"; |
| ... | ... | @@ -63,7 +63,7 @@ |
| 63 | 63 | ?> |
| 64 | 64 | </div> |
| 65 | 65 | <div class="search_perform_projets_nam"> |
| 66 | - <?= Html::a("Заказано проектов {$model->getProjects()->count()}", ['search/project', (new Project())->formName().'[user_id]' => $model->id]) ?> | |
| 66 | + <?= Html::a("Заказано проектов ".count($model->projects), ['search/project', (new Project())->formName().'[user_id]' => $model->id]) ?> | |
| 67 | 67 | </div> |
| 68 | 68 | </div> |
| 69 | 69 | ... | ... |