Commit 9339008393fe0956e96b65068cf3f1bd7e940cfb
1 parent
1b2cc4c2
Another one admin fix
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
frontend/controllers/ProjectController.php
| ... | ... | @@ -24,7 +24,7 @@ |
| 24 | 24 | $dataProvider->pagination = [ |
| 25 | 25 | 'pageSize' => 10, |
| 26 | 26 | ]; |
| 27 | - $dataProvider->query->with('images')->joinWith('lang', true, 'INNER JOIN'); | |
| 27 | + $dataProvider->query->with('images'); | |
| 28 | 28 | return $this->render('index', [ |
| 29 | 29 | 'searchModel' => $searchModel, |
| 30 | 30 | 'dataProvider' => $dataProvider, |
| ... | ... | @@ -43,7 +43,6 @@ |
| 43 | 43 | { |
| 44 | 44 | $model = Project::find() |
| 45 | 45 | ->where([ 'project.project_id' => $id ]) |
| 46 | - ->joinWith('lang', true, 'INNER JOIN') | |
| 47 | 46 | ->one(); |
| 48 | 47 | if(empty( $model )) { |
| 49 | 48 | throw new NotFoundHttpException(); | ... | ... |